diff -r 1f97ee3ec614 -r bd9e124f5904 includes/namespaces/special.php --- a/includes/namespaces/special.php Sun Sep 05 16:05:06 2010 -0400 +++ b/includes/namespaces/special.php Sun Sep 05 16:05:33 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'];