On 11/05/07, Alexis Moinet alexis.moinet@fpms.ac.be wrote:
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 ... )
Aint $wgFileBlacklist has highest priority, so you have no way to upload files with extension in the blacklist, even if you add to $wgFileExtensions array.
I guess, he has to remove the 'cmd' from DefaultSettings.php...
_______________________________________________
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l