r26193 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r26192‎ | r26193 | r26194 >
Date:00:49, 28 September 2007
Author:robchurch
Status:old
Tags:
Comment:
(bug 11478) Fix undefined method call in file deletion interface
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/FileDeleteForm.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/FileDeleteForm.php
@@ -39,7 +39,7 @@
4040 $wgOut->showErrorPage( 'uploadnologin', 'uploadnologintext' );
4141 return;
4242 } elseif( !$wgUser->isAllowed( 'delete' ) ) {
43 - $wgOut->permissionError( 'delete' );
 43+ $wgOut->permissionRequired( 'delete' );
4444 return;
4545 } elseif( $wgUser->isBlocked() ) {
4646 $wgOut->blockedPage();
Index: trunk/phase3/RELEASE-NOTES
@@ -77,6 +77,7 @@
7878 * Make input form of Special:Newpages nicer for RTL wikis
7979 * (bug 11462) Fix typo in LanguageGetSpecialPageAliases hook name
8080 * (bug 11474) Fix unintentional fall-through in math error handling
 81+* (bug 11478) Fix undefined method call in file deletion interface
8182
8283 === API changes in 1.12 ===
8384

Follow-up revisions

RevisionCommit summaryAuthorDate
r26257Merged revisions 26134-26247 via svnmerge from...david19:06, 30 September 2007

Status & tagging log