Index: trunk/phase3/includes/Article.php |
— | — | @@ -1962,16 +1962,6 @@ |
1963 | 1963 | * action=protect handler |
1964 | 1964 | */ |
1965 | 1965 | public function protect() { |
1966 | | - global $wgUser, $wgOut; |
1967 | | - |
1968 | | - # Check permissions |
1969 | | - $permission_errors = $this->mTitle->getUserPermissionsErrors( 'protect', $wgUser ); |
1970 | | - |
1971 | | - if( count( $permission_errors ) > 0 ) { |
1972 | | - $wgOut->showPermissionsErrorPage( $permission_errors ); |
1973 | | - return; |
1974 | | - } |
1975 | | - |
1976 | 1966 | $form = new ProtectionForm( $this ); |
1977 | 1967 | $form->execute(); |
1978 | 1968 | } |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -110,8 +110,6 @@ |
111 | 111 | * Removed float from the user login form in RTL interface - caused display |
112 | 112 | problems in FF2 |
113 | 113 | * (bug 15008) Redirect images are now subject to Bad image list rules |
114 | | -* (bug 18677) Give proper error message when viewing &action=protect without |
115 | | - sufficient rights |
116 | 114 | * (bug 6802) profileinfo.php now also work on other database servers than MySQL |
117 | 115 | * (bug 16925) Diffs no longer fail when $wgExternalDiffEngine is set to 'wikidiff' |
118 | 116 | or 'wikidiff2' but extension is not installed |