Manual:$wgVerifyMimeType/de-formal

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

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