Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -1555,6 +1555,7 @@ |
1556 | 1556 | 'importnofile', |
1557 | 1557 | 'importuploaderrorsize', |
1558 | 1558 | 'importuploaderrorpartial', |
| 1559 | + 'importuploaderrortemp', |
1559 | 1560 | ), |
1560 | 1561 | 'importlog' => array( |
1561 | 1562 | 'importlogpage', |
Index: trunk/phase3/includes/SpecialImport.php |
— | — | @@ -857,6 +857,9 @@ |
858 | 858 | return new WikiErrorMsg( 'importuploaderrorsize' ); |
859 | 859 | case 3: # The uploaded file was only partially uploaded |
860 | 860 | return new WikiErrorMsg( 'importuploaderrorpartial' ); |
| 861 | + case 6: #Missing a temporary folder. Introduced in PHP 4.3.10 and PHP 5.0.3. |
| 862 | + return new WikiErrorMsg( 'importuploaderrortemp' ); |
| 863 | + # case else: # Currently impossible |
861 | 864 | } |
862 | 865 | |
863 | 866 | } |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -2303,6 +2303,7 @@ |
2304 | 2304 | 'importnofile' => 'No import file was uploaded.', |
2305 | 2305 | 'importuploaderrorsize' => 'Upload of import file failed. The file is bigger than the allowed upload size.', |
2306 | 2306 | 'importuploaderrorpartial' => 'Upload of import file failed. The file was only partially uploaded.', |
| 2307 | +'importuploaderrortemp' => 'Upload of import file failed. A temporary folder is missing.', |
2307 | 2308 | |
2308 | 2309 | # Import log |
2309 | 2310 | 'importlogpage' => 'Import log', |