It should use the new message. :o
authorHuji <huji@users.mediawiki.org>
Thu, 3 Jan 2008 19:34:58 +0000 (19:34 +0000)
committerHuji <huji@users.mediawiki.org>
Thu, 3 Jan 2008 19:34:58 +0000 (19:34 +0000)
includes/SpecialImport.php

index 19df38f..e7b88d5 100644 (file)
@@ -852,7 +852,7 @@ class ImportStreamSource {
                if( !empty( $upload['error'] ) ) {
                        switch($upload['error']){
                                case 1: # The uploaded file exceeds the upload_max_filesize directive in php.ini. 
-                                       return new WikiErrorMsg( 'importuploaderror' );
+                                       return new WikiErrorMsg( 'importuploaderrorsize' );
                                case 2: # The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form.
                                        return new WikiErrorMsg( 'importuploaderrorsize' );
                                case 3: # The uploaded file was only partially uploaded