Manual:$wgTrivialMimeDetection/en

Details
This setting is for internal use within MediaWiki only and is not normally required by end users.

This is set to true by to disable all fancy MIME detection routines, because only a few types of images are needed and file extensions can be trusted.