mediawiki-skins-Vector/includes
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
..
Components Type hint UserIdentity in Requirements/Components 2024-03-13 21:59:40 +01:00
FeatureManagement Allow disabling of night mode on certain pages via config 2024-03-28 16:37:30 -07:00
Hooks Hook: Create HookRunner and interface for own hook 2023-10-10 22:03:43 +00:00
ResourceLoader Use UserIdentity in VectorResourceLoaderUserStylesModule 2024-01-23 21:26:35 +01:00
Services
templates Remove language notice 2024-02-29 17:04:16 -06:00
CentralAuthHooks.php Support conditional user defaults 2024-01-04 13:12:03 +01:00
ConfigHelper.php Permit sharing of code between Vector and Minerva 2024-03-20 19:57:11 +00:00
Constants.php Vector - Rename the skin night mode classes to more readable classes 2024-03-20 23:54:47 +00:00
Hooks.php Inject services in Hooks 2024-03-07 20:23:51 +00:00
ServiceWiring.php Create a FeatureManagerFactory 2024-03-08 20:28:31 +01:00
SkinVector22.php Create a FeatureManagerFactory 2024-03-08 20:28:31 +01:00
SkinVectorLegacy.php Separate dropdown/menu references in PHP and templates 2023-07-31 14:03:12 -05:00
VectorServices.php Create a FeatureManagerFactory 2024-03-08 20:28:31 +01:00