Background
As a user I want night them on history and diff pages
User story
As a user I want all my pages in dark mode.
Prerequisites
Requirement
Enable night mode on diff and history pages, as well as on specified special pages, ensuring that all these pages are compatible with the dark theme.
BDD
Feature: Enable Night Mode on Diff and Change List Pages Scenario: Enable night mode on diff and history pages Given the user has enabled night mode When the user visits diff pages (?action=diff) or history pages (?action=history) Then the pages should be displayed in night mode without color contrast issues Scenario: Enable night mode on specified special pages Given the user has enabled night mode When the user visits the specified special pages Then the pages should be displayed in night mode without color contrast issues
Test Steps
Test Case 1: Verify Night Mode on Diff and History Pages
- Enable night mode.
- Navigate to the following pages:
- AC1: Confirm that the pages display in night mode without color contrast issues.
Test Case 2: Verify Night Mode on Specified Special Pages
- Enable night mode.
- Navigate to the following special pages:
- AC2: Confirm that the pages display in night mode without color contrast issues.
For contributions page
- The subtask T368680 has been resolved
For diffs
- Decide whether VisualDiffs is a blocker given it is a beta feature and existing problem (T361468, T368488)
According to Olga and Justin: we are are okay to ship as is, with the understanding these bugs will be addressed soon after the deploy.
For all other pages
- OOUI supports dark theme
- The subtask T361717 has been resolved. (1.43.0-wmf.10)
- The subtask T366920 has been resolved. (1.43.0-wmf.12)
- The subtask T367438 has been resolved. (1.43.0-wmf.11)
- The subtask T363878 has been resolved (1.43.0-wmf.11)
- The subtask T366197 has been resolved (1.43.0-wmf.11)
- 1.43.0-wmf.12 is everywhere.
Acceptance criteria
Please QA in produciton
- A config change is made and backported to satisfy the requirements that follow
- Night mode is enabled on diff pages ?action=diff (https://en.wikipedia.org/w/index.php?title=Conflict-title-0.14501166074480598-I%C3%B1t%C3%ABrn%C3%A2ti%C3%B4n%C3%A0liz%C3%A6ti%C3%B8n&curid=308500&diff=623464&oldid=623463)
- Night mode is enabled on history pages ?action=history (https://en.wikipedia.org/w/index.php?title=Conflict-title-0.14501166074480598-I%C3%B1t%C3%ABrn%C3%A2ti%C3%B4n%C3%A0liz%C3%A6ti%C3%B8n&action=history)
- Enable on https://en.wikipedia.org/wiki/Special:PendingChanges
- Enable on https://en.wikipedia.org/wiki/Special:RecentChanges
- Enable on https://en.wikipedia.org/wiki/Special:Recentchangeslinked
- Enable on https://en.wikipedia.org/wiki/Special:Contributions
- Enable on https://en.wikipedia.org/wiki/Special:Watchlist
- Enable on https://en.wikipedia.org/wiki/Special:ComparePages
- Enable on https://en.wikipedia.org/wiki/Special:Diff
Communication criteria - does this need an announcement or discussion?
N/A
Rollback plan
N/A
This task was created by Version 1.0.0 of the Web team task template using phabulous
QA Results - Prod
AC | Status | Details |
---|---|---|
1 | ✅ | T366371#9963869 |
2 | ✅ | T366371#9963869 |