This check throws E_NOTICEs and isn't particularly rigorous.
authorHappy-melon <happy-melon@users.mediawiki.org>
Sat, 13 Mar 2010 16:13:26 +0000 (16:13 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sat, 13 Mar 2010 16:13:26 +0000 (16:13 +0000)
includes/specials/SpecialNewpages.php

index 903ddab..91d552e 100644 (file)
@@ -136,6 +136,7 @@ class SpecialNewpages extends SpecialPage {
                );
 
                // Disable some if needed
+               # FIXME: throws E_NOTICEs if not set; and doesn't obey hooks etc
                if ( $wgGroupPermissions['*']['createpage'] !== true )
                        unset($filters['hideliu']);