Page MenuHomePhabricator

[testwiki-wmf.25 regression] mobile: oo-ui-icon-wikiText button displayed incorrectly
Open, Needs TriagePublic

Description

Likely related to T374145

Found when T375834: Thanks styled as link on mobile (no role attribute)
Steps:
On mobile testwiki wmf.25 go to History and click to display any revision of an article, e.g. https://test.m.wikipedia.org/w/index.php?title=MavetunaZilant21&diff=614859&oldid=614858

What happened:
The Wikitext icon displayed incorrectly:

Screen Shot 2024-10-01 at 4.06.14 PM.png (936×2 px, 208 KB)

What should happen:
The wikitext button displayed as before, e.g. wmf.24 https://en.m.wikipedia.org/w/index.php?diff=1248533684&oldid=1247889834&title=Shoko_Ikeda

Screen Shot 2024-10-01 at 4.13.08 PM.png (1×758 px, 155 KB)

Notes:

  • the issue is present only on mobile

Event Timeline

I think this relates to the visual diff feature.

Looks like the mask-image property is being set, which seems unnecessary for an OOUI icon...

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

[mediawiki/core@master] OOUIImageModule: Disable mask-image for OOUI icons

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

Change #1077398 abandoned by Esanders:

[mediawiki/core@master] OOUIImageModule: Disable mask-image for OOUI icons

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

There are also issues in the mobile editor:

image.png (221×294 px, 11 KB)

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

[mediawiki/skins/MinervaNeue@master] Disable unused icon variants

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

Jdlrobson removed a project: Web-Team-Backlog.

Web team will follow up on this in T374145 which I've added a parent task. Leaving open for testing purposes when we get the fix applied.

Change #1077757 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Disable unused icon variants

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