r29233 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r29232‎ | r29233 | r29234 >
Date:19:34, 3 January 2008
Author:huji
Status:old
Tags:
Comment:
It should use the new message. :o
Modified paths:
  • /trunk/phase3/includes/SpecialImport.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialImport.php
@@ -852,7 +852,7 @@
853853 if( !empty( $upload['error'] ) ) {
854854 switch($upload['error']){
855855 case 1: # The uploaded file exceeds the upload_max_filesize directive in php.ini.
856 - return new WikiErrorMsg( 'importuploaderror' );
 856+ return new WikiErrorMsg( 'importuploaderrorsize' );
857857 case 2: # The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.
858858 return new WikiErrorMsg( 'importuploaderrorsize' );
859859 case 3: # The uploaded file was only partially uploaded

Status & tagging log