# HG changeset patch # User Dan Fuhry # Date 1280883610 14400 # Node ID 14be93201c10290b45e2fffab18c148840626d25 # Parent 4d511be69a5f1329d8843ca25a810fc647534c34 Got live reauth working again in the admin cp 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'];