mediawiki-skins-MinervaNeue/tests/qunit/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 Drop mw.mobileFrontend references 2023-11-10 01:30:52 +00:00
AB.test.js Drop mw.mobileFrontend references 2023-11-10 01:30:52 +00:00
downloadPageAction.test.js build: Update linters 2024-01-24 22:02:12 +00:00
index.js Send a toast notification if night mode is not available 2024-02-14 01:51:23 +00:00
integration.test.js Rename the skin night mode classes to more readable classes 2024-03-19 23:12:59 +00:00
TitleUtil.test.js Mockup config variables for TitleUtil.test.js 2022-08-18 13:17:48 +00:00
UriUtil.test.js tests: Minor clean up of in TitleUtil/UriUtil tests 2022-05-15 00:46:28 +00:00
watchstar.test.js build: Update linters 2024-01-24 22:02:12 +00:00