[go: up one dir, main page]

Page MenuHomePhabricator

Enable night mode on MediaWiki namespace
Closed, ResolvedPublic1 Estimated Story Points

Description

Background

Generally this namespace does not have problems as it is used for interface messages which are text only. Sometimes it is used to render templates, so it would be useful for editors to see these broken in night theme and enable.
e.g. https://en.wikipedia.org/wiki/MediaWiki:Revreview-draft-title

Some have easy to fix bugs that are currently not obvious since it's disabled:
https://en.wikipedia.org/wiki/MediaWiki:GrowthExperimentsConfig.json

User story

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

Derived Requirement

Enable night mode for the MediaWiki namespace to allow users to see interface messages and templates correctly in dark mode.

BDD

Feature: Night Mode for MediaWiki Namespace

Scenario: Enable night mode in MediaWiki namespace

Given a user is viewing pages in the MediaWiki namespace
When night mode is enabled
Then the pages should be displayed correctly in dark mode
And interface messages and templates should be visually clear
Test Steps

Test Case 1: Verify Night Mode in MediaWiki Namespace

  1. Navigate to a page in the MediaWiki namespace.
  2. Enable night mode.
  3. ✅❓❌⬜ AC1: Confirm that the page displays correctly in dark mode.

Acceptance criteria

  • Night mode is enabled on the MediaWiki namespace

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

QA Results - PROD

ACStatusDetails
1T366368#10003504

Event Timeline

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

[mediawiki/core@master] ContentJSON: Theme for night mode

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

Change #1038375 merged by jenkins-bot:

[mediawiki/core@master] ContentJSON: Theme for night mode

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

Reedy renamed this task from Enable night mode on Mediawiki namespace to Enable night mode on MediaWiki namespace.Jun 10 2024, 9:27 PM
Jdlrobson lowered the priority of this task from High to Medium.Jun 13 2024, 12:44 AM

Updating priority based on web team internal spreadsheet.

@Jdlrobson even though it wasn't tested yet, beta seems to work but not prod. Did you want me to remove this task from the wmf 9 deployment or just put a grey box saying it's not assigned or will be taken care of on the next deployment?

Sorry not sure why this is tagged! This one hasn't been done!

ovasileva raised the priority of this task from Medium to High.Jun 18 2024, 9:12 AM

Per standup let me know when you want to deploy this one!

Jdlrobson lowered the priority of this task from High to Medium.Jul 4 2024, 1:42 AM

Test Result - PROD

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

Test Artifact(s):

Test Steps

Test Case 1: Verify Night Mode in MediaWiki Namespace

  1. Navigate to a page in the MediaWiki namespace.
  2. Enable night mode.
  3. ✅ AC1: Confirm that the page displays correctly in dark mode.

2024-07-22_09-28-18.mp4.gif (706×1 px, 2 MB)

ovasileva claimed this task.