Page MenuHomePhabricator

Jan 20, 2025: Vector 2022 and dark mode deployments
Closed, ResolvedPublic1 Estimated Story Points

Description

Background

  • We will be deploying the vector 2022 skin and dark mode to the next set of wikimedia projects

User story

  • As a reader of a wikimedia project, I want to be able to use the same skin across wikis
  • As a product team, we want to have vector 2022 as the default skin on all wikis so that we can avoid significant versioning issues

Requirements

  • Deploy Vector 2022 to the following list of wikis:
  • azwiki
  • azwikimedia
  • Make sure dark mode available on both wikis

BDD

Feature: Vector 2022 and dark mode deployments
  Scenario: Deploy Vector 2022 skin as default on specified wikis
    Given a user visits azwiki or azwikimedia
    When the Vector 2022 skin is set as the default
    Then the Vector 2022 skin should load as the default skin for all users

  Scenario: Enable dark mode on specified wikis
    Given a user visits azwiki or azwikimedia
    When the dark mode feature is available
    Then the user should be able to enable dark mode in their preferences or via a toggle

Test Steps

Test Case 1: Verify Vector 2022 is set as the default skin

  1. Visit azwiki and azwikimedia as a logged-out user.
  2. Confirm that the Vector 2022 skin is displayed by default.
  3. Log in to an account and check that the skin preference is set to Vector 2022 by default.
  4. AC1: Vector 2022 skin is the default for both logged-in and logged-out users on azwiki and azwikimedia.

Test Case 2: Verify dark mode functionality

  1. Visit azwiki and azwikimedia as a logged-in user.
  2. Navigate to user preferences and enable dark mode.
  3. Verify that the dark mode theme is applied across pages.
  4. Test the toggle or dark mode options (if available for logged-out users).
  5. AC2: Dark mode is available and functional for logged-in users, and the theme changes as expected.

Design

  • Add mockups and design requirements

Acceptance criteria

  • Get green light from @sgrabarczuk before deployment
  • Deploy to wikis according to requirements

Communication criteria - does this need an announcement or discussion?

  • All wikis must be communicated with ahead of time

Rollback plan

  • What is the rollback plan in production for this task if something goes wrong?

QA Results - Prod

ACStatusDetails
1T383942#10482642
2T383942#10482642

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

Event Timeline

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

[operations/mediawiki-config@master] Enable Vector 2022 and dark mode on Azerbaijani wikis

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

Jdlrobson changed the task status from Open to In Progress.Jan 17 2025, 4:53 PM
Jdlrobson triaged this task as High priority.
Jdlrobson added a project: Web-Team.
Jdlrobson moved this task from Incoming to Q3 on the Web-Team board.
Aklapper renamed this task from Jan 20: Vector 2022 and dark mode deployments to Jan 20, 2025: Vector 2022 and dark mode deployments.Jan 20 2025, 5:33 PM
Jdlrobson set the point value for this task to 1.Jan 21 2025, 4:17 PM

Per team asynchronous estimation (5 votes for 1)

Discussed with Edward and we have capacity to QA this today. I've scheduled for 1pm PST deployment.

Change #1112101 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable Vector 2022 and dark mode on Azerbaijani wikis

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

Mentioned in SAL (#wikimedia-operations) [2025-01-21T21:08:39Z] <cjming@deploy2002> Started scap sync-world: Backport for [[gerrit:1112101|Enable Vector 2022 and dark mode on Azerbaijani wikis (T383942)]]

Mentioned in SAL (#wikimedia-operations) [2025-01-21T21:14:52Z] <cjming@deploy2002> cjming, jdlrobson: Backport for [[gerrit:1112101|Enable Vector 2022 and dark mode on Azerbaijani wikis (T383942)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-01-21T21:23:46Z] <cjming@deploy2002> Finished scap sync-world: Backport for [[gerrit:1112101|Enable Vector 2022 and dark mode on Azerbaijani wikis (T383942)]] (duration: 15m 06s)

Jdlrobson-WMF lowered the priority of this task from High to Medium.Jan 21 2025, 9:39 PM
Edtadros updated the task description. (Show Details)
Edtadros updated the task description. (Show Details)
Edtadros subscribed.

Status: ✅ PASS
Environment: azwiki, azwikimedia
OS: macOS
Browser: Chrome
Device: MS

NOTE: I don't have an azwikimedia account so I couldn't verify logged in functionality for that wiki

Test Case 1: Verify Vector 2022 is set as the default skin

  1. Visit azwiki and azwikimedia as a logged-out user.
  2. Confirm that the Vector 2022 skin is displayed by default.
  3. Log in to an account and check that the skin preference is set to Vector 2022 by default.
  4. ✅ AC1: Vector 2022 skin is the default for both logged-in and logged-out users on azwiki and azwikimedia.

screenshot 137.png (928×1 px, 228 KB)

screenshot 138.png (928×1 px, 375 KB)

screenshot 139.png (928×1 px, 737 KB)

Test Case 2: Verify dark mode functionality

  1. Visit azwiki and azwikimedia as a logged-in user.
  2. Navigate to user preferences and enable dark mode.
  3. Verify that the dark mode theme is applied across pages.
  4. Test the toggle or dark mode options (if available for logged-out users).
  5. ✅ AC2: Dark mode is available and functional for logged-in users, and the theme changes as expected.

screenshot 85.mov.gif (928×1 px, 3 MB)

Edtadros updated the task description. (Show Details)
Jdlrobson-WMF updated the task description. (Show Details)