Page MenuHomePhabricator

[Subtask[Regression] Vector 2022 uses wrong font size on talk pages
Closed, ResolvedPublic

Description

To reproduce, visit https://en.wikipedia.beta.wmflabs.org/wiki/Talk:Main_Page

The sidebar appearance menu is disabled, and it says "This page always uses small font size". However, the page is not using the "Small" font size. It almost looks like the "Standard" size, but with wrong line-height.

image.png (2×3 px, 796 KB)

Requirement

Ensure that the "small" font size is correctly applied on talk pages in the Vector 2022 skin.

BDD

Feature: Correct Font Size on Talk Pages in Vector 2022

  Scenario: Apply "small" font size on talk pages
    Given the user is viewing a talk page in the Vector 2022 skin
    When the page loads
    Then the "small" font size should be correctly applied

Test Steps

Test Case 1: Apply "Small" Font Size on Talk Pages

  1. Visit this talk page on the beta environment using the Vector 2022 skin.
  2. Ensure that the "small" font size is applied to the text.
  3. AC1: Confirm that the font size matches the "small" specification (14px / 22px).

QA Results - Beta

ACStatusDetails
1T365408#9831985

QA Results - PROD

ACStatusDetails
1T365408#9843629

Event Timeline

Jdlrobson renamed this task from Vector 2022 uses wrong font size on talk pages to [Regression] Vector 2022 uses wrong font size on talk pages.May 21 2024, 8:02 PM
Jdlrobson renamed this task from [Regression] Vector 2022 uses wrong font size on talk pages to [Subtask[Regression] Vector 2022 uses wrong font size on talk pages.

This is a blocker for deployment. It made need to be backported since it will impact anonymous users on Polish Wikipedia?

I'm not sure I see an error here. Currently the default font-size on beta is small. The font-size values from the spec in T359030 are (computed font-size/line-height):
small = 14px / 22px
standard = 16px / 25.6px
large = 20px / 30px

The font-size on that talk page on beta is 14px / 22px, which corresponds to "small", and the option is disabled, as expected.

Screenshot 2024-05-22 at 9.23.46 AM.png (535×1 px, 309 KB)

Disregard that last comment, that screenshot was taken after the fix was merged, so I was just looking at the fixed/expected result.

This is a blocker for deployment. It made need to be backported since it will impact anonymous users on Polish Wikipedia?

Marking as release blocker per this comment.

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

[mediawiki/skins/Vector@wmf/1.43.0-wmf.6] Small font size is not applying to excluded pages

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

Jdlrobson added a subscriber: ovasileva.

This is a blocker for deployment. It made need to be backported since it will impact anonymous users on Polish Wikipedia?

Marking as release blocker per this comment.

Sorry I originally meant a blocker for the release of font size in 2 weeks time, not the train, but after talking to @ovasileva we decided this should be a blocker which Jan will deploy in an hours time.

Jdlrobson raised the priority of this task from High to Unbreak Now!.May 22 2024, 6:52 PM

Change #1034992 merged by jenkins-bot:

[mediawiki/skins/Vector@wmf/1.43.0-wmf.6] Small font size is not applying to excluded pages

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

Mentioned in SAL (#wikimedia-operations) [2024-05-22T20:33:29Z] <jdrewniak@deploy1002> Started scap: Backport for [[gerrit:1034993|Revert "Add exclusion behaviour for "width" option in Appearance menu" (T364015)]], [[gerrit:1034992|Small font size is not applying to excluded pages (T364887 T365408)]]

Mentioned in SAL (#wikimedia-operations) [2024-05-22T20:36:22Z] <jdrewniak@deploy1002> jdrewniak and jdlrobson: Backport for [[gerrit:1034993|Revert "Add exclusion behaviour for "width" option in Appearance menu" (T364015)]], [[gerrit:1034992|Small font size is not applying to excluded pages (T364887 T365408)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-05-22T20:50:16Z] <jdrewniak@deploy1002> Finished scap: Backport for [[gerrit:1034993|Revert "Add exclusion behaviour for "width" option in Appearance menu" (T364015)]], [[gerrit:1034992|Small font size is not applying to excluded pages (T364887 T365408)]] (duration: 16m 46s)

Jdlrobson lowered the priority of this task from Unbreak Now! to High.May 22 2024, 10:03 PM
Jdlrobson moved this task from Doing to QA on the Web-Team-Backlog (FY2023-24 Q4 Sprint 4) board.
Edtadros subscribed.

Test Result - Beta

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

Test Artifact(s):

Test Steps

Test Case 1: Apply "Small" Font Size on Talk Pages

  1. Visit this talk page on the beta environment using the Vector 2022 skin.
  2. Ensure that the "small" font size is applied to the text.
  3. AC1: Confirm that the font size matches the "small" specification (14px / 22px).

screenshot 375.png (724×1 px, 226 KB)

screenshot 376.png (856×1 px, 327 KB)

Edtadros updated the task description. (Show Details)

Test Result - PROD

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

Test Artifact(s):

Test Steps

Test Case 1: Apply "Small" Font Size on Talk Pages

  1. Visit this talk page on the beta environment using the Vector 2022 skin.
  2. Ensure that the "small" font size is applied to the text.
  3. AC1: Confirm that the font size matches the "small" specification (14px / 22px).

2024-05-29_11-42-59.png (1×3 px, 633 KB)

Jdlrobson claimed this task.