mediawiki-skins-MinervaNeue/includes/Skins
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
..
PageActionsMenu Support extension of page actions via hook and addPortletLink 2023-10-04 22:15:47 +00:00
ToggleList Update checkboxHack target node 2024-01-12 08:00:59 -08:00
banners.mustache Remove MinervaTemplate class 2021-11-12 11:39:58 -07:00
Button.mustache Clean up setIcon now that classes and icon types are removed 2023-08-24 21:37:40 +00:00
footer.mustache Add languages to Minerva HTML 2023-03-17 20:37:32 +00:00
footerItemList.mustache Simplify footer and logo generation 2020-10-16 23:41:34 +00:00
Header.mustache Echo uses Button template 2023-08-08 15:44:38 +00:00
history.mustache [Icons] Convert history/next status bar icons to Codex 2023-07-28 16:56:24 -07:00
Icon.mustache Switch Minerva button template to use Codex and remove mw-ui-button 2023-08-24 15:57:01 -05:00
IconButtonLink.mustache Generate section edit links via SkinMustache 2023-10-23 23:17:43 +00:00
LanguageSection.mustache Add languages to Minerva HTML 2023-03-17 20:37:32 +00:00
Logo.mustache Restore title to mobile skin without logo 2021-10-21 15:16:14 +00:00
menu.mustache Update addPortletLink for Codex 2023-08-29 19:27:56 +00:00
menuGroup.mustache Make menuGroup.mustache use togglelist classes, ensuring ToggleList HTML is consistent. Remove duplicated CSS 2023-08-25 17:57:47 +00:00
PageActionsMenu.mustache Move components files up one level into Skins directory 2021-10-22 18:45:38 +00:00
SearchBox.mustache Remove old :before icon selectors and update selectors to not use minerva and wikimedia prefixes 2023-09-06 13:53:22 -05:00
SectionLinks.mustache Generate section edit links via SkinMustache 2023-10-23 23:17:43 +00:00
skin.mustache Allow addPortletLink to target tabs/associated pages 2023-12-21 16:37:28 -08:00
SkinMinerva.php Add feature flag for night mode 2024-01-31 00:38:51 +00:00
SkinUserPageHelper.php Use namespaced classes 2024-01-06 16:31:38 +01:00
ToggleList.mustache Move components files up one level into Skins directory 2021-10-22 18:45:38 +00:00