return new WikiErrorMsg( 'importuploaderrorsize' );
case 3: # The uploaded file was only partially uploaded
return new WikiErrorMsg( 'importuploaderrorpartial' );
+ case 6: #Missing a temporary folder. Introduced in PHP 4.3.10 and PHP 5.0.3.
+ return new WikiErrorMsg( 'importuploaderrortemp' );
+ # case else: # Currently impossible
}
}
'importnofile' => 'No import file was uploaded.',
'importuploaderrorsize' => 'Upload of import file failed. The file is bigger than the allowed upload size.',
'importuploaderrorpartial' => 'Upload of import file failed. The file was only partially uploaded.',
+'importuploaderrortemp' => 'Upload of import file failed. A temporary folder is missing.',
# Import log
'importlogpage' => 'Import log',
'importnofile',
'importuploaderrorsize',
'importuploaderrorpartial',
+ 'importuploaderrortemp',
),
'importlog' => array(
'importlogpage',