MediaWiki:Configure-setting-wgStrictFileExtensions/en

Disallow any non-preferred file extension