qunit: Move modules exclusively for $wgEnableJavaScriptTest to test registry
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 5 Feb 2014 05:17:48 +0000 (21:17 -0800)
committerTimo Tijhof <krinklemail@gmail.com>
Wed, 5 Feb 2014 20:32:37 +0000 (12:32 -0800)
commitc59ff09be9c2579f1feccd80937513a44e7e82a1
tree7b969e30a9436f250738f49e951f9d9b45ed87f0
parent58a56414156f8a057c342445747b8484dbc8815b
qunit: Move modules exclusively for $wgEnableJavaScriptTest to test registry

These modules should only be loaded when $wgEnableJavaScriptTest
is true. Move these modules to the registry that is only activated
in that context and rename the modules to be namespaced under 'test.'
so that there is no mistake when referencing these that they are
not regularly available.

Change-Id: I21e69f50b006904b12fe9f79c196c903ebff4661
includes/resourceloader/ResourceLoader.php
includes/specials/SpecialJavaScriptTest.php
resources/Resources.php
tests/qunit/QUnitTestResources.php
tests/qunit/data/testrunner.js