mediawiki-skins-Vector/tests
Steph Toyofuku feb8cc90dc Allow disabling of night mode on certain pages via config
* 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
2024-03-28 16:37:30 -07:00
..
integration-qunit Generalize skins.vector.clientPreferences library for use in MobileFrontend 2024-01-17 14:51:29 -08:00
jest Migrate uses of codex-search in Vector to use CodexModule 2024-03-13 15:58:26 +00:00
phpunit Allow disabling of night mode on certain pages via config 2024-03-28 16:37:30 -07:00
.eslintrc.json build: Use wikimedia/server for root folder eslint config 2023-09-04 18:13:32 +01:00