mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +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 |
||
---|---|---|
.. | ||
Hooks | ||
Menu | ||
Permissions | ||
Skins | ||
Hooks.php | ||
LanguagesHelper.php | ||
MobileFrontendHooks.php | ||
ResourceLoaderSkinModule.php | ||
ServiceWiring.php | ||
SkinOptions.php |