Translations:Manual:$wgDisableUploadScriptChecks/5/en

Setting this to true is very dangerous on a publicly editable site, so use $GroupPermissions to restrict uploading to only those that you trust.