Index: trunk/phase3/includes/FileDeleteForm.php |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | $wgOut->showErrorPage( 'uploadnologin', 'uploadnologintext' ); |
41 | 41 | return; |
42 | 42 | } elseif( !$wgUser->isAllowed( 'delete' ) ) { |
43 | | - $wgOut->permissionError( 'delete' ); |
| 43 | + $wgOut->permissionRequired( 'delete' ); |
44 | 44 | return; |
45 | 45 | } elseif( $wgUser->isBlocked() ) { |
46 | 46 | $wgOut->blockedPage(); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -77,6 +77,7 @@ |
78 | 78 | * Make input form of Special:Newpages nicer for RTL wikis |
79 | 79 | * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name |
80 | 80 | * (bug 11474) Fix unintentional fall-through in math error handling |
| 81 | +* (bug 11478) Fix undefined method call in file deletion interface |
81 | 82 | |
82 | 83 | === API changes in 1.12 === |
83 | 84 | |