dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab101a7
)
Fix for r35787 commit message: the list bullets were indented to the right, not to...
author
Rotem Liss
<rotem@users.mediawiki.org>
Tue, 3 Jun 2008 13:00:21 +0000
(13:00 +0000)
committer
Rotem Liss
<rotem@users.mediawiki.org>
Tue, 3 Jun 2008 13:00:21 +0000
(13:00 +0000)
includes/SpecialPage.php
patch
|
blob
|
history
diff --git
a/includes/SpecialPage.php
b/includes/SpecialPage.php
index
4220185
..
fe41c42
100644
(file)
--- 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 )