Index: trunk/phase3/includes/Title.php |
— | — | @@ -1490,10 +1490,6 @@ |
1491 | 1491 | return $result; |
1492 | 1492 | } |
1493 | 1493 | |
1494 | | - # Shortcut for public wikis, allows skipping quite a bit of code |
1495 | | - if ( !empty( $wgGroupPermissions['*']['read'] ) ) |
1496 | | - return true; |
1497 | | - |
1498 | 1494 | if( $wgUser->isAllowed( 'read' ) ) { |
1499 | 1495 | return true; |
1500 | 1496 | } else { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -195,6 +195,8 @@ |
196 | 196 | * (bug 17014) Blocked users can no longer use Special:UserRights unless they |
197 | 197 | can add/remove *all* groups (have 'userrights' permission). |
198 | 198 | * (bug 19294) Always show Sp-contributions-footer(-anon) |
| 199 | +* Attempts to restrict reading of pages while anonymous viewing is allowed |
| 200 | + via extensions not using the userCan hook and via $wgRevokePermissions now work. |
199 | 201 | |
200 | 202 | == API changes in 1.16 == |
201 | 203 | |