Index: trunk/phase3/includes/SpecialPage.php |
— | — | @@ -715,7 +715,9 @@ |
716 | 716 | * pages? |
717 | 717 | */ |
718 | 718 | public function isRestricted() { |
719 | | - return $this->mRestriction != ''; |
| 719 | + global $wgGroupPermissions; |
| 720 | + // DWIM: If all anons can do something, then it is not restricted |
| 721 | + return $this->mRestriction != '' && empty($wgGroupPermissions['*'][$this->mRestriction]); |
720 | 722 | } |
721 | 723 | |
722 | 724 | /** |