Page MenuHomePhabricator

User Info Card: On opening popover username is underlined
Closed, ResolvedPublic0.5 Estimated Story PointsBUG REPORT

Description

What happens?

  • After opening the user info card, username is underlined until user clicks inside popover

image.png (422×852 px, 81 KB)

What should have happened instead?

  • Username should not be underlined unless the user hovers over it (i.e. the same way all links display)

image.png (456×852 px, 87 KB)

Notes

See this thread for some ideas on how to fix this.

Software version

https://test.wikipedia.org/ (Chrome, Desktop)

Event Timeline

OKryva-WMF triaged this task as Medium priority.Jul 23 2025, 9:36 AM
OKryva-WMF set the point value for this task to 0.5.

This is probably a bug with Codex? I also see this for the Temporary Accounts onboarding dialog:

image.png (742×528 px, 45 KB)

Codex automatically focuses the first focusable element in a dialog when the dialog opens (OOUI does the same). This makes sense for inputs, but maybe not for links.

mszwarc changed the task status from Open to In Progress.Jul 29 2025, 7:11 AM
mszwarc claimed this task.

Change #1173801 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@master] UserInfoCard: Don't underline the username by default

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

Change #1173801 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] UserInfoCard: Don't underline the username by default

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

Djackson-ctr subscribed.

New Code Changes have been implemented (When user opens a UserInfoCard, the Username will not be underlined unless the user does a mouse-over the Username):
QA was completed for this ticket using Patch Demo...
Testing was performed on various: Skins, Desktop View/MobileView, Chrome/Edge/Firefox/Safari, Windows/Mac/Android/iOS, RTL languages

image.png (391×303 px, 49 KB)

image.png (600×632 px, 41 KB)