mediawiki-skins-MinervaNeue/tests/phpunit
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
..
menu Fix alignment for nearby and settings items in menu, and correctly hide when JS is disabled 2023-12-14 21:58:39 +00: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
structure phpunit: Implement the new BundleSizeTest::getSkinName() 2022-04-12 00:50:24 +00:00
unit Enable special page tabs 2022-05-18 21:41:00 +00:00
LanguagesHelperTest.php Use namespaced classes 2024-01-06 16:31:38 +01:00