Page MenuHomePhabricator

Help icon is not inverted on WhatLinksHere and other pages
Open, MediumPublic2 Estimated Story PointsBUG REPORT

Description

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

What happens?:

screenshot 452.png (898×1 px, 307 KB)

What should have happened instead?:
Icon should make use of the Codex mixin instead of OOUI so that it's color is flipped in night theme.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
This should likely be switched to use a Codex icon.
https://gerrit.wikimedia.org/g/mediawiki/core/+/6e4337de93f312dc8ec8da805cf66a7199588308/resources/src/mediawiki.helplink/helplink.less

QA Results - Beta

ACStatusDetails
1T366358#9936425

QA Results - Test.wiki

ACStatusDetails
1T366358#9936425

Event Timeline

Blocked pending a discussion in team sync tomorrow

The issue:

I think ideal solution here would be to add a span element to addHelpLink for just the icon (cdxIconHelp)
We probably need to consider cached HTML.

Change #1050077 had a related patch set uploaded (by Stoyofuku-wmf; author: Stoyofuku-wmf):

[mediawiki/core@master] Convert helplink icon to use codex css mixin

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

Change #1050077 merged by jenkins-bot:

[mediawiki/core@master] OutputPage: Convert helplink icon to use codex css mixin

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

@Jdlrobson Beta passed but test.wiki failed as seen in the screenshots.

Test Result - Beta/Test.wiki

Status: ✅ PASS for Beta/ ❌ for Test.wiki
Environment: Beta
OS: macOS Sonoma 14.5
Browser: Chrome 126
Device: MBA
Emulated Device: NA

Test Artifact(s):

✅ AC1: Icon should make use of the Codex mixin instead of OOUI so that it's color is flipped in night theme.

✅ Beta❌Test.wiki
2024-06-28_15-36-22.png (875×1 px, 164 KB)
Help icon is still dark
2024-06-28_15-36-44.png (566×1 px, 105 KB)

^ I believe that's expected as it was merged yesterday and testwiki isn't deployed until Tuesday