Manual:$wgVerifyMimeType

Category:MediaWiki configuration settings#VerifyMimeTypeCategory:MediaWiki configuration settings introduced in version 1.5.0#VerifyMimeTypeCategory:MediaWiki configuration settings still in use#VerifyMimeTypeCategory:MIME types variables#VerifyMimeType
MIME types: $wgVerifyMimeType
Determines if the MIME type of uploaded files should be checked.
Introduced in version:1.5.0
Removed in version:Still in use
Allowed values:(boolean)
Default value:true

Details

Determines if the MIME type of uploaded files should be checked.

If this is set to false, the MIME type blacklist ($wgMimeTypeExclusions) is ignored. The check to make sure the MIME type of the uploaded file matches the file extension is also bypassed.

See also

Category:MIME types variables Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.5.0 Category:MediaWiki configuration settings still in use