mediawiki-skins-MinervaNeue/includes
Steph Toyofuku f614ce6687 Add feature flag for night mode
Adds a config flag, `MinervaNightMode`, and wires it up as a skin option
for enabling/disabling the night mode toggle (sold separately)

Additionally, allow this feature to be enabled via the
`minervanightmode` query param

For now, turning the flag on will result in the class
`skin-nightmode-clientpref-1` being added to the HTML element, but in a
later change this will be updated to switch values based on the
forthcoming client pref

Bug: T355118
Change-Id: I35848ab80ee75d324ceb35d17794e2d3e620cc19
2024-01-31 00:38:51 +00:00
..
Hooks Create HookRunner class and the hook handler interface 2023-06-09 22:19:59 +02:00
Menu Use namespaced classes 2024-01-06 16:31:38 +01:00
Permissions Use namespaced classes 2024-01-06 16:31:38 +01:00
Skins Add feature flag for night mode 2024-01-31 00:38:51 +00:00
Hooks.php Add feature flag for night mode 2024-01-31 00:38:51 +00:00
LanguagesHelper.php Use namespaced classes 2024-01-06 16:31:38 +01:00
MobileFrontendHooks.php Add feature flag for night mode 2024-01-31 00:38:51 +00:00
ResourceLoaderSkinModule.php Use namespaced classes 2024-01-06 16:31:38 +01:00
ServiceWiring.php Use namespaced classes 2024-01-06 16:31:38 +01:00
SkinOptions.php Add feature flag for night mode 2024-01-31 00:38:51 +00:00