mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 02:13:49 +00:00
f614ce6687
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 |
||
---|---|---|
.. | ||
SkinMinervaTest.php | ||
SkinUserPageHelperTest.php |