mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts
Moh'd Khier Abualruz 5d6b866890 Rename the skin night mode classes to more readable classes
The classes:
- skin-night-mode-clientpref-0
- skin-night-mode-clientpref-1
- skin-night-mode-clientpref-2
is being replaced with
- skin-theme-clientpref-day
- skin-theme-clientpref-night
- skin-theme-clientpref-os
- Moved $forceNightMode to be a text parameter (dat|night|os)
- Keep adding the old classes to the html element, to give the ability of gradual deployment

The preference is renamed from minerva-night-mode to minerva-theme (a follow up to consider
migrating existing values will follow).

The query string minervanightmode continues to behave the same but now
accepts other values such as day, night and os.

Bug: T359983
Change-Id: Ia253de68f94236e7fe2219b736dd6084c64ce838
2024-03-19 23:12:59 +00:00
..
page-issues styles: Update color in Less from #d33 to #d73333 2024-02-28 17:10:08 -05:00
AB.js Udate jsdoc and use jsdoc-wmf-theme 2023-10-20 13:42:19 +00:00
addPortletLink.js build: Update linters 2024-01-24 22:02:12 +00:00
ctaDrawers.js build: Update linters 2024-01-24 22:02:12 +00:00
downloadPageAction.js build: Update linters 2024-01-24 22:02:12 +00:00
drawers.js build: Update eslint-config-wikimedia to 0.16.0 2020-06-04 08:39:32 -07:00
initMobile.js Diffs: Localize number in timeago 2024-02-09 16:51:30 +00:00
menu.js Simplify menu code 2019-12-19 12:14:13 -08:00
mobileRedirect.js Revert "Add metric platfrom event tracking on mobile desktop toggle" 2023-08-07 16:41:49 +00:00
nightModeClasses.js The new class should be present alongside the old class for all page views 2024-03-18 21:43:44 +00:00
preInit.js build: Update linters 2024-01-24 22:02:12 +00:00
references.js build: Update linters 2024-01-24 22:02:12 +00:00
reportIfNightModeWasDisabledOnPage.js Rename the skin night mode classes to more readable classes 2024-03-19 23:12:59 +00:00
search.js Drop mw.mobileFrontend references 2023-11-10 01:30:52 +00:00
searchSuggestReveal.js Make MobileFrontend dependency a soft one 2020-01-17 14:02:23 -08:00
setup.js The new class should be present alongside the old class for all page views 2024-03-18 21:43:44 +00:00
styles.less [VISUAL CHANGE] Update last modified bar to have an accessible color contrast 2024-03-15 22:28:48 +00:00
TabScroll.js Udate jsdoc and use jsdoc-wmf-theme 2023-10-20 13:42:19 +00:00
TitleUtil.js mediawiki.RegExp (deprecated) -> mediawiki.util 2019-09-09 18:10:35 +00:00
toc.less Fix toc arrow icon being too big 2023-08-03 18:43:41 +00:00
Toolbar.js Fixes read only mode. 2023-10-31 00:41:29 +00:00
Toolbar.less Convert all color related Less variables to CSS custom properties 2024-02-02 17:57:27 +00:00
UriUtil.js Special handling for hash fragments we cannot decoded 2020-10-20 12:26:54 -07:00
watchstar.js build: Update linters 2024-01-24 22:02:12 +00:00
watchStar.less Remove old :before icon selectors and update selectors to not use minerva and wikimedia prefixes 2023-09-06 13:53:22 -05:00