Background
Many projects have added a CSS rule that detects a background color applied via an inline style and changes links in those tables to black with an underline. Since this has proved useful and popular this rule should be upstreamed so all projects can use it. This will speed up roll out of dark mode to anons on various projects.
User story
AS an anon user on a wiki with few technical editors, I want dark mode quicker!
Requirements
- The CSS reflects the current best practice as defined in https://www.mediawiki.org/wiki/Recommendations_for_night_mode_compatibility_on_Wikimedia_wikis#Consider_globally_setting_link_color_inside_tables_with_background
- The rule will live in WikimediaMessages
- The rule should apply to night mode only
BDD
- For QA engineer to fill out
Test Steps
- For QA engineer to fill out
Design
- Add mockups and design requirements
Acceptance criteria
- Add acceptance criteria
Communication criteria - does this need an announcement or discussion?
- Add communication criteria
Rollback plan
- What is the rollback plan in production for this task if something goes wrong?
This task was created by Version 1.2.0 of the Web team task template using phabulous
Sign off
- Update all these wiki pages to remove links in inline-styled table rules https://global-search.toolforge.org/?q=html%5C.skin-theme-clientpref-night.*%5C%5Bstyle%5C*%5C%3D®ex=1&namespaces=8&title=
- Verify that Spanish on https://night-mode-checker.wmcloud.org/ shows errors in the hundreds rather than thousands after the removal of the Vector-2022.css and Minerva.css rules.
QA Results - PROD
AC | Status | Details |
---|---|---|
1 | ✅ | Pass per T371411#10142447 |