Page MenuHomePhabricator

Edit buttons not appearing within sticky header
Closed, ResolvedPublic

Description

In T296910, we introduced edit buttons within the sticky header the Vector 2022, and now Zebra, skins implemented.

Those edit buttons no longer seem to be appearing.

Reproduction steps

  1. On desktop, while logged in, visit any Wikipedia page that you have permission to access. E.g. https://en.wikipedia.org/wiki/Improvisation .

❗️Actual

  1. Notice buttons do NOT appear within the sticky header that enable you to edit the page:

Screenshot 2023-06-01 at 8.44.16 AM.png (830×896 px, 248 KB)

✅ Expected

  1. Notice edit buttons appear within the sticky header that enable you to edit the page

QA Results - Prod

ACStatusDetails
1T337955#8916862

Event Timeline

Esanders triaged this task as High priority.Jun 1 2023, 4:40 PM

Stepping through the code it looks like this being disable by A/B test code. Has the config changed recently or is this just working as expected?

T324799 seems to suggest this should be enabled everywhere. I think a recently-enabled AB test has triggered the logic disabling sticky headers again.

Change 925855 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/skins/Vector@master] Remove config and AB test code for edit buttons in sticky header

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

Change 925858 had a related patch set uploaded (by Esanders; author: Esanders):

[operations/mediawiki-config@master] Remove deleted config wgVectorStickyHeaderEdit

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

Change 925855 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Remove config and AB test code for edit buttons in sticky header

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

Change 925792 had a related patch set uploaded (by Kimberly Sarabia; author: Esanders):

[mediawiki/skins/Vector@wmf/1.41.0-wmf.11] Remove config and AB test code for edit buttons in sticky header

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

Change 925792 merged by jenkins-bot:

[mediawiki/skins/Vector@wmf/1.41.0-wmf.11] Remove config and AB test code for edit buttons in sticky header

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

Mentioned in SAL (#wikimedia-operations) [2023-06-01T20:44:29Z] <samtar@deploy1002> Started scap: Backport for [[gerrit:925792|Remove config and AB test code for edit buttons in sticky header (T337955)]]

Mentioned in SAL (#wikimedia-operations) [2023-06-01T20:45:57Z] <samtar@deploy1002> samtar and ksarabia: Backport for [[gerrit:925792|Remove config and AB test code for edit buttons in sticky header (T337955)]] synced to the testservers: mwdebug1001.eqiad.wmnet, mwdebug2001.codfw.wmnet, mwdebug2002.codfw.wmnet, mwdebug1002.eqiad.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-06-01T20:54:58Z] <samtar@deploy1002> Finished scap: Backport for [[gerrit:925792|Remove config and AB test code for edit buttons in sticky header (T337955)]] (duration: 10m 29s)

Change 925858 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove deleted config wgVectorStickyHeaderEdit

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

Mentioned in SAL (#wikimedia-operations) [2023-06-01T20:57:36Z] <samtar@deploy1002> Started scap: Backport for [[gerrit:925858|Remove deleted config wgVectorStickyHeaderEdit (T337955)]]

Mentioned in SAL (#wikimedia-operations) [2023-06-01T20:59:15Z] <samtar@deploy1002> esanders and samtar: Backport for [[gerrit:925858|Remove deleted config wgVectorStickyHeaderEdit (T337955)]] synced to the testservers: mwdebug2001.codfw.wmnet, mwdebug2002.codfw.wmnet, mwdebug1001.eqiad.wmnet, mwdebug1002.eqiad.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-06-01T21:06:07Z] <samtar@deploy1002> Finished scap: Backport for [[gerrit:925858|Remove deleted config wgVectorStickyHeaderEdit (T337955)]] (duration: 08m 30s)

@Jdrewniak who is responsible for QAing and resolving this ticket? Web team or editing team?

Edtadros subscribed.

Test Result - Prod

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

Test Artifact(s):

QA Steps

On desktop, while logged in, visit any Wikipedia page that you have permission to access. E.g. https://en.wikipedia.org/wiki/Improvisation .
✅ AC1: edit buttons appear within the sticky header that enable you to edit the page

Screenshot 2023-06-08 at 5.59.00 PM.png (342×1 px, 80 KB)

@Jdlrobson If this looks good feel free to resolve.