mediawiki-skins-Citizen/resources/skins.citizen.preferences/clientPreferences.json
alistair3149 a741639085
feat(core): move theme preferences to clientPrefs
Since clientPrefs and other related features are not avaliable until MW 1.42,
many of them are backported as polyfill. Instead of using cookies, the polyfill
are using localStorage only like Citizen in the past.

There are many changes behind the scene, but the most important one being that
`skin-citizen-*` theme classes are now soft-deprecated, and replaced by the
standardized `skin-theme-clientpref-*` classes. There will be sufficient
time before the hard deprecation.

Related: #780
2024-04-24 20:23:54 -04:00

7 lines
98 B
JSON

{
"skin-theme": {
"options": [ "os", "day", "night" ],
"preferenceKey": "citizen-theme"
}
}