|MIME types: $wgMimeTypeBlacklist|
|MIME types to disallow if $wgVerifyMimeType is enabled.
|Introduced in version:||1.5.0|
|Removed in version:||still in use|
|Allowed values:||array of MIME types (strings)|
|Default value:||(see below)|
§Details[edit | edit source]
Files with these MIME types will never be allowed as uploads if $wgVerifyMimeType is enabled.
§Default value[edit | edit source]
|MediaWiki version:||≥ 1.18|
Default value since 1.18:
- 'application/x-opc+zip', 'application/msword', 'application/vnd.ms-powerpoint', 'application/vnd.msexcel' were blacklisted after 1.17.0 (r81376), and removed in r82783
- 'application/x-opc+zip', 'text/scriptlet', 'application/x-msdownload' were introduced after 1.5.5
- 'application/x-msmetafile' was added in 1.5.5
- 'application/zip' was added in 1.14 and then removed in 1.18
- All other values were available since the setting was introduced in 1.5.0