resourceloader: Move expandModuleNames() to ResourceLoader.php
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 11 Apr 2019 20:28:53 +0000 (21:28 +0100)
committerKrinkle <krinklemail@gmail.com>
Thu, 11 Apr 2019 21:06:53 +0000 (21:06 +0000)
commitf2bf73a4c491019f420ee6d6f1d8bd643659adbe
tree7abf1d705b7ded3e46750ec8de644e194597526f
parentc51e4e24ef4ce5a1ef9933fd20266e75a758027f
resourceloader: Move expandModuleNames() to ResourceLoader.php

This has always been an odd case, as indicicated by the cross-class
comment references, and the fact that its test cases are already
in ResourceLoaderTest.php, for convenience, as that's also where
the creation of 'module name strings' is done and tested.

Actually move it there instead of pretending it is there.

Change-Id: Ied9569436cc78704a5c1b75eeebb73f8631350f6
RELEASE-NOTES-1.33
includes/resourceloader/ResourceLoader.php
includes/resourceloader/ResourceLoaderContext.php
resources/src/startup/mediawiki.js
tests/phpunit/includes/resourceloader/ResourceLoaderContextTest.php
tests/phpunit/includes/resourceloader/ResourceLoaderTest.php
tests/qunit/data/load.mock.php