Manual:$wgTrivialMimeDetection

From Linux Web Expert

<translate> MIME types</translate>: $wgTrivialMimeDetection
Switch for trivial MIME detection.
<translate> Introduced in version:</translate>1.5.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>false

Details

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

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