r65274 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65273‎ | r65274 | r65275 >
Date:12:52, 19 April 2010
Author:raymond
Status:ok
Tags:
Comment:
Follow-up r65049: Fix constant name
Error on translatewiki: PHP Fatal error: Undefined class constant 'FILESIZE_TOO_LARGE' in /www/w/includes/specials/SpecialUpload.php on line 531
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUpload.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUpload.php
@@ -528,7 +528,7 @@
529529 case UploadBase::EMPTY_FILE:
530530 $this->showUploadError( wfMsgHtml( 'emptyfile' ) );
531531 break;
532 - case UploadBase::FILESIZE_TOO_LARGE:
 532+ case UploadBase::FILE_TOO_LARGE:
533533 $this->showUploadError( wfMsgHtml( 'largefileserver' ) );
534534 break;
535535 case UploadBase::FILETYPE_BADTYPE:

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65049(bug 17941) $wgMaxUploadSize is now honored by all upload sourcesbtongminh09:28, 15 April 2010

Status & tagging log