Manual:$wgDisableUploadScriptChecks

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