mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-24 05:33:24 +00:00
feb8cc90dc
* Using the new ConfigHelper, support disabling night mode on certain pages via configuration options * In addition, adds test coverage for this case and the query parameter case (in a new integration test file as we now require accessing the service container for request context) * Finally, supply a default configuration in skin.json with all the values set to null For the easiest possible approach while we evaulate our general feature management system, this logic is handled inside of getFeatureBodyClass using the new shouldDisable general function. In the future, it may make sense to break this out into its own requirement class, but for now that feels premature Bug: T359606 Change-Id: I3e7a4720ec3cc2afd9777e36f59aa56b682258f0 |
||
---|---|---|
.. | ||
Requirements | ||
FeatureManagerTest.php |