Page MenuHomePhabricator

[Zebra] Make vector-column-start element cache compatible
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

In T323141 we created a new layout container called .vector-column-start for the TOC and Main menu.
This however, was only implemented for compatibility with the Zebra CSS module.
Before merging the zebra module, we should make this new container compatible with the cached, non-zebra version of the HTML.

A/C

  • When zebra is disabled (?vectorzebradesign=0) and the element .vector-column-start exists in the DOM, the ToC and sidebar still behave as expected
  • When zebra is disabled (?vectorzebradesign=0) and the element .vector-column-start does not exist in the DOM, the ToC and sidebar still behave as expected

QA steps

not sure how what QA steps are for testing different cached versions of the HTML

Event Timeline

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

[mediawiki/skins/Vector@master] [Zebra] Make .vector-column-start cache compatible

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

ovasileva raised the priority of this task from Medium to High.Nov 30 2023, 6:29 PM
ovasileva subscribed.

Will require a backport next week.

ovasileva set the point value for this task to 1.Nov 30 2023, 6:31 PM

Change 976708 merged by jenkins-bot:

[mediawiki/skins/Vector@master] [Zebra] Make .vector-column-start cache compatible

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

Change 979704 had a related patch set uploaded (by Jdlrobson; author: Mabualruz):

[mediawiki/skins/Vector@wmf/1.42.0-wmf.7] [Zebra] Make .vector-column-start cache compatible

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

Jdlrobson subscribed.

This will be needed for the Zebra deploy so should be rolled out this week. It improves the footer overlap issue. Kim will backport this today.

Change 979704 merged by jenkins-bot:

[mediawiki/skins/Vector@wmf/1.42.0-wmf.7] [Zebra] Make .vector-column-start cache compatible

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

Mentioned in SAL (#wikimedia-operations) [2023-12-05T21:27:42Z] <jforrester@deploy2002> Started scap: Backport for [[gerrit:979704|[Zebra] Make .vector-column-start cache compatible (T347712 T351830)]], [[gerrit:980467|Fix nonzebra sticky container scrolling behavior and scrollable indicator (T352464)]]

Mentioned in SAL (#wikimedia-operations) [2023-12-05T21:30:00Z] <jforrester@deploy2002> jdlrobson and jforrester and jdrewniak: Backport for [[gerrit:979704|[Zebra] Make .vector-column-start cache compatible (T347712 T351830)]], [[gerrit:980467|Fix nonzebra sticky container scrolling behavior and scrollable indicator (T352464)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2023-12-05T21:40:32Z] <jforrester@deploy2002> Finished scap: Backport for [[gerrit:979704|[Zebra] Make .vector-column-start cache compatible (T347712 T351830)]], [[gerrit:980467|Fix nonzebra sticky container scrolling behavior and scrollable indicator (T352464)]] (duration: 12m 50s)

@Jdlrobson , I can check the ACs, but unsure what to do regarding the caching mentioned in the QA steps. Please advise.

This can skip QA now as Zebra has been in production for a week with no bug reports.