Page MenuHomePhabricator

siteSub went missing due to zebra transition
Closed, ResolvedPublic0 Estimated Story PointsBUG REPORT

Description

I've hacked around this in Vector-2022.css ( https://en.wikipedia.org/wiki/MediaWiki:Vector-2022.css ), but, here's the form letter filled in...

Steps to replicate the issue (include links if applicable):

What happens?:

image.png (191×540 px, 13 KB)

What should have happened instead?:

image.png (154×360 px, 10 KB)

Software version: 1.41.0-wmf.6 (ccab434) 14:09, 24 April 2023

Other information: Reported at https://en.wikipedia.org/wiki/WP:VPT#Extra_line_break_and_missing_line_break_at_the_top_of_articles

I'm pretty sure this is because #siteSub { display: none } got wrapped into a class selector (.vector-feature-zebra-design-disabled) that isn't needed for #siteSub, regardless of whether Vector 22 is Zebrad or not.

TODO

  • Fix bug
  • Add Pixel regression test so this doesn't happen again

QA steps

QA Results - Beta

ACStatusDetails
1T335625#8817540

Event Timeline

ovasileva triaged this task as Unbreak Now! priority.May 1 2023, 3:59 PM

Jdlrobson updated the task description. (Show Details)

I deliberately did not include safemode=1 as the reason safemode doesn't show siteSub is because safemode doesn't load MediaWiki:Common.css et al.

Change 913960 had a related patch set uploaded (by Jdrewniak; author: Jdrewniak):

[mediawiki/skins/Vector@master] [Regression] Move #siteSub display rule into common.less

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

Change 913960 merged by jenkins-bot:

[mediawiki/skins/Vector@master] [Regression] Move #siteSub display rule into common.less

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

This was caught my our UI regression tests, but those presumably went unchecked as part of last week's deployment. I've added an agenda item to our next retrospective.

Edtadros subscribed.

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Ventura
Browser: Chrome
Device: MBP
Emulated Device:NA

Test Artifact(s):

QA Steps

✅ AC1: The text "From Wikipedia, the free encyclopedia" should show on https://en.wikipedia.beta.wmflabs.org/wiki/Spain

Screenshot 2023-05-01 at 2.07.39 PM.png (739×1 px, 222 KB)