Board Thread:General Discussion/@comment-24531999-20160514180240/@comment-24473195-20160515183140

Saftzie wrote:

Unless you tell it you're in "test" mode, when you ask load.php to get you a js file, it gives you back the approved one. In "test" mode, it gives you back the latest one. There's no easy provision to ask for specific revisions, at least not through importArticles. Interesting. The difficulty of extending that functionality is probably dependent on their database schema. Although given that fact that there aren't that many users of javascript, it probably wouldn't take a lot of resources to add this functionality.

There would be many benefits for this, especially in cases like this, where the wiki in question imports a multitude of scripts from several places. If one of those scripts malfunctions or is changed in incompatible ways, then the wiki will have issues for a whole weekend or more depending on staff availability.

At the very least, there should be a function to disable all scripts (e.g. by blanking the .js) page. This wouldn't require much development effort as it is partly the functionality offered by MediaWiki:ImportJS.

I suppose one workaround is importing all scripts using MediaWiki:ImportJS, and keeping common.js blank.