Fix for r35787 commit message: the list bullets were indented to the right, not to...
authorRotem Liss <rotem@users.mediawiki.org>
Tue, 3 Jun 2008 13:00:21 +0000 (13:00 +0000)
committerRotem Liss <rotem@users.mediawiki.org>
Tue, 3 Jun 2008 13:00:21 +0000 (13:00 +0000)
includes/SpecialPage.php

index 4220185..fe41c42 100644 (file)
@@ -437,14 +437,14 @@ class SpecialPage
         */
        static function getRestrictedPages() {
                global $wgUser;
-               if ( !self::$mListInitialised ) {
+               if( !self::$mListInitialised ) {
                        self::initList();
                }
                $pages = array();
 
-               foreach ( self::$mList as $name => $rec ) {
+               foreach( self::$mList as $name => $rec ) {
                        $page = self::getPage( $name );
-                       if (
+                       if(
                                $page->isListed()
                                && $page->isRestricted()
                                && $page->userCanExecute( $wgUser )