# HG changeset patch # User Dan # Date 1218504877 14400 # Node ID 9523cc7d767cb8b75c6782ecf92e218fe0f454f8 # Parent 424ea7aac0ca7f26d0ed27c76a8acc223554e04c Fixed System pages not being createable even with proper admin rights. This is hackish, it probably needs to have something implemented at the ACL level. diff -r 424ea7aac0ca -r 9523cc7d767c plugins/SpecialPageFuncs.php --- 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 ) {