--- 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'];