From: Rotem Liss Date: Tue, 3 Jun 2008 13:00:21 +0000 (+0000) Subject: Fix for r35787 commit message: the list bullets were indented to the right, not to... X-Git-Tag: 1.31.0-rc.0~47218 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=9375c5481cea8a136ac5b4a5a3a623439ff7dbb1;p=lhc%2Fweb%2Fwiklou.git Fix for r35787 commit message: the list bullets were indented to the right, not to the left. --- diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 4220185af3..fe41c421c7 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -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 )