Manual:$wgDisableUploadScriptChecks/en

From Linux Web Expert

<translate> Files and file uploads</translate>: $wgDisableUploadScriptChecks
Whether to disable the upload system's checks for HTML/JavaScript.
<translate> Introduced in version:</translate>1.19.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>false

Details

Whether to disable the upload system's checks for HTML/JavaScript.

File:OOjs UI icon notice-destructive.svg <translate> Warning:</translate> Setting this to true is very dangerous on a publicly editable site, so use $wgGroupPermissions to restrict uploading to only those that you trust.