Manual:$wgTrivialMimeDetection

Details
Switch for trivial mime detection. Used by thumb.php to disable all fancy things, because only a few types of images are needed and file extensions can be trusted.