Richard Penman
Mediawiki upload settings

30 Jan 2008

By default the Mediawiki upload settings are too restrictive because they deny most filetypes. And changing the file extension is not enough because Mediawiki also checks the mime type. As a quick and dirty to allow what you want open LocalSettings.php and add:

$wgStrictFileExtensions = false;  
$wgCheckFileExtensions = false;  
$wgVerifyMimeType = false;
blog comments powered by Disqus