Remove mediawiki.special.javaScriptTest module
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 18 Dec 2015 22:03:53 +0000 (14:03 -0800)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 23 Dec 2015 19:58:15 +0000 (19:58 +0000)
commit6b758fc982972ee60856af0b766383f3aae97f65
tree7f24f5afe51d6a40882d108a467fbaae06dc0cf8
parent92a481e8a2650b0f68ef920f99c20398b9c649de
Remove mediawiki.special.javaScriptTest module

We're almost ready to drop the non-plain mode of Special:JavaScriptTest
in favour of Special:JavaScript/qunit/plain. There's a few mobile-related
extensions still using the non-karma mode for qunit testing.

However, none of them make use of the Skin selector, which was mainly a debug
thing I added in the initial version. It no longer makes sense since our tests
now enforce an anti-dependency on skin html and other context. Encouraging
testing in multiple skins in the old UI therefore no longer makes sense.

This also fixes one of the most frequent errors in resourceloader logs and gets
rid of an ugly hack in Resources.php that causes a small amount of overhead
in ResourceLoader::__construct().

> MessageBlobStore failed to find skinname-fallback
> MessageBlobStore failed to find skinname-apioutput

Change-Id: Idaacf718703883c6a7e83a17ccd3f41ebdca53d1
includes/specials/SpecialJavaScriptTest.php
resources/Resources.php
resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js [deleted file]