Page MenuHomePhabricator

[Config] Dark mode is not available on Special:ApiSandbox
Closed, ResolvedPublic1 Estimated Story Points

Description

NOTE: This can be deployed as early as June 20th

Background

Dark mode is not available on Special:ApiSandbox. This task is about fixing the issues and enabling it.

User story

As a reader I want all pages to appear dark in dark mode.

Requirements

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

Revert the config change if unexpected issues arise.

This task was created by Version 1.0.0 of the Web team task template using phabulous

Related Objects

Event Timeline

Jdlrobson renamed this task from [placeholder] Enable dark mode experiences for OOUI based pages to [placeholder] Enable dark mode experiences for OOUI based special pages.Jun 3 2024, 7:12 PM
Jdlrobson renamed this task from [placeholder] Enable dark mode experiences for OOUI based special pages to Enable dark mode experiences for OOUI based special pages.
Jdlrobson triaged this task as High priority.
Jdlrobson updated the task description. (Show Details)
Jdlrobson renamed this task from Enable dark mode experiences for OOUI based special pages to Enable dark mode experiences for OOUI based special pages and actions.Jun 3 2024, 7:21 PM
Jdlrobson updated the task description. (Show Details)

Change #1042262 had a related patch set uploaded (by Jdlrobson; author: VolkerE):

[mediawiki/core@master] apisandbox, styles: Apply dark mode enabled color tokens

https://gerrit.wikimedia.org/r/1042262

@Volker_E this was a pretty broader in scope - some things in those special pages are not using OOUI e.g. custom elements or Codex or other stuff which also need fixing.

It might make sense to split this out into 4 tasks for each of the special pages, now I think about it more...

Change #1042262 merged by jenkins-bot:

[mediawiki/core@master] apisandbox, styles: Apply dark mode enabled color tokens

https://gerrit.wikimedia.org/r/1042262

Jdlrobson renamed this task from Enable dark mode experiences for OOUI based special pages and actions to Dark mode is not available on Special:ApiSandbox.Fri, Jun 14, 4:51 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson renamed this task from Dark mode is not available on Special:ApiSandbox to [Config] Dark mode is not available on Special:ApiSandbox.Fri, Jun 14, 4:54 PM
Jdlrobson lowered the priority of this task from High to Low.
Jdlrobson updated the task description. (Show Details)
Jdlrobson set the point value for this task to 1.
Jdlrobson updated the task description. (Show Details)

Change #1042431 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[operations/mediawiki-config@master] Enable dark mode on more pages

https://gerrit.wikimedia.org/r/1042431

Change #1041250 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[operations/mediawiki-config@master] Enable dark mode on more pages

https://gerrit.wikimedia.org/r/1041250

Change #1042431 abandoned by Jdlrobson:

[operations/mediawiki-config@master] Enable dark mode on more pages

Reason:

Folded into https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/1041250

https://gerrit.wikimedia.org/r/1042431

Change #1041250 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable dark mode on more pages

https://gerrit.wikimedia.org/r/1041250

Mentioned in SAL (#wikimedia-operations) [2024-06-25T20:19:01Z] <cjming@deploy1002> jdlrobson, cjming: Backport for [[gerrit:1041250|Enable dark mode on more pages (T366378 T367374 T366373 T366520 T366373)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-06-25T20:31:25Z] <cjming@deploy1002> Finished scap: Backport for [[gerrit:1041250|Enable dark mode on more pages (T366378 T367374 T366373 T366520 T366373)]] (duration: 15m 04s)

Test Result - Prod

Status: ✅ PASS
Environment: Beta
OS: macOS Sonoma 14.5
Browser: Chrome 126
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps
  1. Go to

https://en.wikipedia.org/wiki/Special:ApiSandbox with page in dark mode
https://en.m.wikipedia.org/wiki/Special:ApiSandbox with page in dark mode

  1. Check that dark mode is working in these pages and no color contrast issues.

Screenshot 2024-07-03 at 12.31.46 PM.png (1×2 px, 433 KB)

Screenshot 2024-07-03 at 12.31.20 PM.png (1×2 px, 383 KB)

I confirmed the fix in production.