diff -r 4d511be69a5f -r 14be93201c10 includes/namespaces/special.php --- a/includes/namespaces/special.php Tue Aug 03 20:49:20 2010 -0400 +++ b/includes/namespaces/special.php Tue Aug 03 21:00:10 2010 -0400 @@ -62,8 +62,16 @@ 'delvote_ips' => '', 'wiki_mode' => 2, 'page_exists' => $this->exists, - 'page_format' => getConfig('default_page_format', 'wikitext') + 'page_format' => getConfig('default_page_format', 'wikitext'), + 'require_admin' => $this->namespace === 'Admin' ); + + $code = $plugins->setHook('ns_special_cdata'); + foreach ( $code as $cmd ) + { + eval($cmd); + } + $this->cdata = Namespace_Default::bake_cdata($this->cdata); $this->title =& $this->cdata['name'];