[Mediawiki-l] File upload help

Alexis Moinet alexis.moinet at fpms.ac.be
Fri May 11 10:58:20 UTC 2007

Mike a écrit :
> Thanks alot!  That got the upload file link working for me, now I'm having another problem.  I want to be able to upload files with the extension of .cmd
>   As Rob suggested, I read deeper and found that I have to add this to localsettings.php:
>   $wgFileExtensions = array( 'gif', 'cmd', 'jpg', 'jpeg', 'doc', 'txt' );
>   which I did, but I still get a message saying ".Cmd" is not a recommended image file format. 
>   Any ideas on this?

cmd is forbidden by the $wgFileBlacklist array (in DefaultSettings.php) use LocalSettings.php to enable it (though if it's forbidden, there is a reason for it ... )

More information about the MediaWiki-l mailing list