Page MenuHomePhabricator

Enable night theme on pages which have no color contrast issues
Closed, ResolvedPublic1 Estimated Story Points

Assigned To
Authored By
Jdlrobson
Fri, May 31, 4:03 PM
Referenced Files
F55102668: screenshot 705.png
Sun, Jun 9, 6:37 AM
F55102660: screenshot 704.png
Sun, Jun 9, 6:37 AM
F55102651: screenshot 703.png
Sun, Jun 9, 6:37 AM
F55102643: screenshot 702.png
Sun, Jun 9, 6:37 AM
F55102639: screenshot 701.png
Sun, Jun 9, 6:37 AM
F55102633: screenshot 700.png
Sun, Jun 9, 6:37 AM
F55102627: screenshot 699.png
Sun, Jun 9, 6:37 AM
F55102624: screenshot 698.png
Sun, Jun 9, 6:37 AM

Description

Background

For pages where there are no issues with night mode, as judged by the evaluation in T361557, we should enable night mode.

User story

As a user I want all my pages in dark mode.

Requirement

Enable night mode on pages without color contrast issues, including specific namespaces, action pages, and special pages as listed in the Acceptance Criteria section of the task. Verify the implementation on the provided pages.

BDD

gherkin
Feature: Enable Night Mode on Pages without Color Contrast Issues

  Scenario: Enable night mode on pages without color contrast issues
    Given the night mode is enabled
    When the user views the specified namespaces, action pages, and special pages
    Then the pages should display in night mode without color contrast issues

Test Steps

Test Case 1: Verify Night Mode on Specified Pages

  1. Enable night mode.
  2. Navigate to the specified pages listed in the Acceptance Criteria section of the task.
  3. AC1: Confirm that pages display in night mode without color contrast issues.

Acceptance criteria

Communication criteria - does this need an announcement or discussion?

An announcement would be useful so interface admins can address issues.

Rollback plan

N/A

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

Event Timeline

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

[operations/mediawiki-config@master] Enable night theme on pages which have no color contrast issues

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

Change #1038424 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable night theme on pages which have no color contrast issues

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

Mentioned in SAL (#wikimedia-operations) [2024-06-03T20:36:51Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:1037600|Wrap tables in Vector 2022 for projects where legacy Vector is default (T366314)]], [[gerrit:1038424|Enable night theme on pages which have no color contrast issues (T366370)]]

Mentioned in SAL (#wikimedia-operations) [2024-06-03T20:39:12Z] <urbanecm@deploy1002> jdlrobson and urbanecm: Backport for [[gerrit:1037600|Wrap tables in Vector 2022 for projects where legacy Vector is default (T366314)]], [[gerrit:1038424|Enable night theme on pages which have no color contrast issues (T366370)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-06-03T20:51:48Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:1037600|Wrap tables in Vector 2022 for projects where legacy Vector is default (T366314)]], [[gerrit:1038424|Enable night theme on pages which have no color contrast issues (T366370)]] (duration: 14m 57s)

Jdlrobson updated the task description. (Show Details)
Jdlrobson added a subscriber: Edtadros.

Test Result - Prod

Status: ❌ FAIL
Environment: enwiki, commons
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Verify Night Mode on Specified Pages

  1. Enable night mode.
  2. Navigate to the specified pages listed in the Acceptance Criteria section of the task.
  3. AC1: Confirm that pages display in night mode without color contrast issues.

14, 34, and 78 did not appear in dark mode.

#StatusPage LinkScreenshot
1Category:Expatriate_sportspeople_by_nationality
screenshot 624.png (1×1 px, 396 KB)
2Help:Gadget-Cat-a-lot
screenshot 625.png (1×1 px, 654 KB)
3Main_Page?action=info
screenshot 626.png (1×1 px, 395 KB)
4Special:BrokenRedirects
screenshot 627.png (1×1 px, 259 KB)
5Special:LintErrors
screenshot 628.png (1×1 px, 379 KB)
6Special:AllPages
screenshot 629.png (1×1 px, 308 KB)
7Special:PrefixIndex
screenshot 630.png (1×1 px, 286 KB)
8Special:Categories
screenshot 631.png (1×1 px, 400 KB)
9Special:CategoryTree
screenshot 632.png (1×1 px, 292 KB)
10Special:EntityUsage
screenshot 633.png (1×1 px, 268 KB)
11Special:LinkSearch
screenshot 634.png (1×1 px, 306 KB)
12Special:PagesWithProp
screenshot 635.png (1×1 px, 276 KB)
13Special:PagesWithBadges
screenshot 636.png (1×1 px, 277 KB)
14Special:Search
screenshot 637.png (1×1 px, 265 KB)
15Special:BotPasswords
screenshot 638.png (1×1 px, 314 KB)
16Special:ChangeCredentials
screenshot 639.png (1×1 px, 257 KB)
17Special:ChangeEmail
screenshot 640.png (1×1 px, 289 KB)
18Special:MergeAccount
screenshot 641.png (1×1 px, 348 KB)
19Special:Manage Two-factor authentication
screenshot 642.png (1×1 px, 273 KB)
20Special:OAuthManageMyGrants
screenshot 643.png (1×1 px, 315 KB)
21Special:RemoveCredentials
screenshot 644.png (1×1 px, 255 KB)
22Special:PasswordReset
screenshot 645.png (1×1 px, 262 KB)
23Special:ResetTokens
screenshot 646.png (1×1 px, 284 KB)
24Special:ActiveUsers
screenshot 647.png (1×1 px, 429 KB)
25Special:CreateAccount
screenshot 648.png (1×1 px, 324 KB)
26Special:EmailUser
screenshot 649.png (1×1 px, 256 KB)
27Special:CentralAuth
screenshot 650.png (1×1 px, 295 KB)
28Special:GlobalUsers
screenshot 651.png (1×1 px, 294 KB)
29Special:GlobalGroupPermissions
screenshot 652.png (1×1 px, 413 KB)
30Special:ListGrants
screenshot 653.png (1×1 px, 384 KB)
31Special:OAuthListConsumers
screenshot 654.png (1×1 px, 338 KB)
32Special:GlobalBlockList
screenshot 655.png (1×1 px, 493 KB)
33Special:PasswordPolicies
screenshot 656.png (1×1 px, 420 KB)
34Special:Contributions
screenshot 657.png (1×1 px, 299 KB)
35Special:ListUsers
screenshot 658.png (1×1 px, 445 KB)
36Special:EditRecovery
screenshot 659.png (1×1 px, 259 KB)
37Special:NewFiles
screenshot 660.png (1×1 px, 384 KB)
38Special:NewPages
screenshot 661.png (1×1 px, 389 KB)
39Special:Log
screenshot 662.png (1×1 px, 391 KB)
40Special:GlobalUsage
screenshot 663.png (1×1 px, 270 KB)
41Special:ListDuplicatedFiles
screenshot 664.png (1×1 px, 409 KB)
42Special:MediaStatistics
screenshot 665.png (1×1 px, 387 KB)
43Special:OrphanedTimedText
screenshot 666.png (1×1 px, 367 KB)
44Special:FileDuplicateSearch
screenshot 667.png (1×1 px, 260 KB)
45Special:VipsTest
screenshot 668.png (1×1 px, 260 KB)
46Special:ApiFeatureUsage
screenshot 669.png (1×1 px, 273 KB)
47Special:BookSources
screenshot 670.png (1×1 px, 270 KB)
48Special:ExpandTemplates
screenshot 671.png (1×1 px, 309 KB)
49Special:GadgetUsage
screenshot 672.png (1×1 px, 368 KB)
50Special:Gadgets
screenshot 673.png (1×1 px, 447 KB)
51Special:TemplateSandbox
screenshot 674.png (1×1 px, 291 KB)
52Special:Version
screenshot 675.png (1×1 px, 409 KB)
53Special:Interwiki
screenshot 676.png (1×1 px, 367 KB)
54Special:WikiSets
screenshot 677.png (1×1 px, 261 KB)
55Special:SiteMatrix
screenshot 678.png (1×1 px, 348 KB)
56Special:DeletePage
screenshot 679.png (1×1 px, 253 KB)
57Special:Diff
screenshot 680.png (1×1 px, 260 KB)
58Special:EditPage
screenshot 681.png (1×1 px, 253 KB)
59Special:NewSection
screenshot 682.png (1×1 px, 255 KB)
60Special:PageHistory
screenshot 683.png (1×1 px, 254 KB)
61Special:PageInfo
screenshot 684.png (1×1 px, 253 KB)
62Special:PermanentLink
screenshot 685.png (1×1 px, 258 KB)
63Special:ProtectPage
screenshot 686.png (1×1 px, 254 KB)
64Special:Purge
screenshot 687.png (1×1 px, 251 KB)
65Special:Random
screenshot 688.png (1×1 px, 460 KB)
66Special:RandomInCategory
screenshot 689.png (1×1 px, 258 KB)
67Special:RandomRedirect
screenshot 690.png (1×1 px, 332 KB)
68Special:RandomRootpage
screenshot 691.png (1×1 px, 401 KB)
69Special:Redirect
screenshot 692.png (1×1 px, 290 KB)
70Special:Book
screenshot 693.png (1×1 px, 319 KB)
71Special:ChangeContentModel
screenshot 694.png (1×1 px, 266 KB)
72Special:CiteThisPage
screenshot 695.png (1×1 px, 254 KB)
73Special:Export
screenshot 696.png (1×1 px, 339 KB)
74Special:Impact
screenshot 697.png (1×1 px, 305 KB)
75Special:NewcomerTasksInfo
screenshot 698.png (1×1 px, 307 KB)
76Special:ValidationStatistics
screenshot 699.png (1×1 px, 366 KB)
77Special:StablePages
screenshot 700.png (1×1 px, 548 KB)
78Special:ContentTranslationStats
screenshot 701.png (1×1 px, 190 KB)
79Special:Contribute
screenshot 702.png (1×1 px, 283 KB)
80Special:CreateMassMessageList
screenshot 703.png (1×1 px, 267 KB)
81Special:MathWikibase
screenshot 704.png (1×1 px, 262 KB)
82Special:Userrights
screenshot 705.png (1×1 px, 261 KB)
Jdlrobson updated the task description. (Show Details)

Thanks @Edtadros ! Those failures shouldn't have been in the QA steps - my bad! I've removed! We have follow up tickets for them.

ovasileva added a project: User-notice.

Marking with tech news for the announcement. I think we can probably say something like: "The dark mode beta feature is now available on a new set of special pages, allowing testing for any potential issues"

Everything else looks good. Resolving.