plugins/SpecialPageFuncs.php
changeset 682 9523cc7d767c
parent 648 082b7b47b859
child 685 17ebe24cdf85
--- a/plugins/SpecialPageFuncs.php	Mon Aug 11 21:33:46 2008 -0400
+++ b/plugins/SpecialPageFuncs.php	Mon Aug 11 21:34:37 2008 -0400
@@ -87,6 +87,10 @@
   global $lang;
   
   $whitelist_ns = array('Article', 'User', 'Help', 'Template', 'Category', 'Project');
+  if ( $session->user_level >= USER_LEVEL_ADMIN )
+  {
+    $whitelist_ns[] = 'System';
+  }
   $code = $plugins->setHook('page_create_ns_whitelist');
   foreach ( $code as $cmd )
   {