Thread:Project:Support desk/This file contains HTML or script code that may be erroneously interpreted by a web browser./reply (4)

No, this advise is wrong and plain dangerous. Do not follow it!

Setting $wgDisableUploadScriptChecks to true will disable upload checks for HTML/JavaScript. Basically it will allow all users, who may upload files, to upload arbitrary HTML and JavaScript contents. Having custom HTML and JavaScript code in your wiki is a security threat for you and your users. And worst of all: The questioner does not even want to upload HTML or JavaScript! He wants to upload images! $wgDisableUploadScriptChecks does not even influence how MediaWiki behaves when non-HTML/JavaScript files are uploaded!

This advise does not help in any way except that it opens a security vulnerability!