wiki.techinc.nl/tests/phpunit/includes/resourceloader
jdlrobson 4a287f9217 ResourceLoaderSkinModule defines the order of feature styles
Previously, the order of styles outputted by this module was
arbitrary, based on the order of the feature files passed in.

This was not how it was intended to work - the ResourceLoaderSkinModule
should be aware of the correct ordering.

In the case of normalize for example - it should always be the first
file output.

The implementation is adapted to check for valid features once in
the constructor and to also consider a DEFAULT_FEATURES value has been
set.

We  use the FEATURE_FILES constant to determine
the order of CSS output.

This is all documented in the class.

Bug: T269618
Change-Id: Iecbf11b5f09882e55d694651210d6d132d3cd412
2020-12-15 02:11:22 +00:00
..
templates
DerivativeResourceLoaderContextTest.php resourceloader: Let derivative context inherit getUserObj() object 2020-04-14 03:59:52 +01:00
MessageBlobStoreTest.php Fix tests/ PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 04:30:21 +01:00
ResourceLoaderClientHtmlTest.php resourceloader: Remove internal 'sync' option from ClientHtml 2020-04-23 20:48:04 +00:00
ResourceLoaderContextTest.php resourceloader: Export ResourceModuleSkinStyles as extension attribute 2020-03-30 16:08:00 -07:00
ResourceLoaderFileModuleTest.php Remove usages of Skin::getAllowedSkins. 2020-08-05 02:48:29 +01:00
ResourceLoaderImageModuleTest.php resourceloader: Add some typehints and misc clean up 2020-07-02 03:05:59 +01:00
ResourceLoaderLessVarFileModuleTest.php Add missing empty lines between methods 2019-01-15 19:14:35 +00:00
ResourceLoaderModuleTest.php resourceloader: Mention ECMAScript version in JS parse error 2020-06-01 23:37:57 +00:00
ResourceLoaderOOUIImageModuleTest.php Remove usages of Skin::getAllowedSkins. 2020-08-05 02:48:29 +01:00
ResourceLoaderSkinModuleTest.php ResourceLoaderSkinModule defines the order of feature styles 2020-12-15 02:11:22 +00:00
ResourceLoaderStartUpModuleTest.php Fix a plethora of class and function call case mismatches 2020-05-26 14:14:46 +01:00
ResourceLoaderTest.php resourceloader: Add skin-based 'mediawiki.skin.variables.less' import 2020-09-15 10:05:53 +00:00
ResourceLoaderWikiModuleTest.php Fix visibility of setUp/tearDown 2020-06-16 21:02:05 +02:00
VueComponentParserTest.php VueComponentParser: Use RemexHtml instead of PHP's HTML parser 2020-06-22 19:54:15 +00:00