FS#77389 - [wiki] follow system dark/light mode by default

Attached to Project: Arch Linux
Opened by Phil Schaf (flying-sheep) - Saturday, 04 February 2023, 19:10 GMT
Last edited by Toolybird (Toolybird) - Sunday, 05 February 2023, 06:59 GMT
Task Type Bug Report
Category Web Sites
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Browsers forward the user’s preferred color scheme (light or dark) via CSS media query.

The wiki should follow this by default instead of having a two-state toggle for dark/light mode.

It makes limited sense to allow users to override this default using a tri-state toggle (auto, dark, light) like e.g. the “Theme” dropdown on https://developer.mozilla.org/en-US/, three radio buttons, or a button cycling through the three options.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 05 February 2023, 06:59 GMT
Reason for closing:  Upstream
Comment by nl6720 (nl6720) - Saturday, 04 February 2023, 19:42 GMT
The wiki uses https://www.mediawiki.org/wiki/Extension:DarkMode and it doesn't support prefers-color-scheme.
Please open an issue upstream.
Comment by Phil Schaf (flying-sheep) - Saturday, 04 February 2023, 20:37 GMT
Done: https://phabricator.wikimedia.org/T328850

Will you update extensions regularly or should this task stay open as a reminder to do so once they implement it upstream?

Loading...