Page MenuHomePhabricator

Suggested investigations: Subtitle links are not rendered correctly when UserInfoCard / IP reveal is not enabled
Closed, ResolvedPublic0.1 Estimated Story PointsBUG REPORT

Description

The CheckUser-SuggestedInvestigations special page does not load the ext.checkUser.styles module which means that some styles can be missing if it isn't loaded for another reason

Steps to replicate the issue
  1. Open Special:SuggestedInvestigations using an account which does not have CheckUser-UserInfoCard or IP reveal enabled
  2. Look at the subtitle links

What happens?:
The subtitle links are not separated with | characters

image.png (983×157 px, 15 KB)

What should have happened instead?:
They should be separated in the same way that if the user had CheckUser-UserInfoCard loaded (or other code that causes ext.checkUser.styles to be loaded on all / most special pages)

Event Timeline

Change #1188763 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@master] SI: Load ext.checkUser.styles on Special:SuggestedInvestigations

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

Change #1188763 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] SI: Load ext.checkUser.styles on Special:SuggestedInvestigations

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

Change #1189136 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CheckUser@wmf/1.45.0-wmf.19] SI: Load ext.checkUser.styles on Special:SuggestedInvestigations

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

Change #1189136 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@wmf/1.45.0-wmf.19] SI: Load ext.checkUser.styles on Special:SuggestedInvestigations

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

Mentioned in SAL (#wikimedia-operations) [2025-09-17T11:46:00Z] <dreamyjazz@deploy1003> Started scap sync-world: Backport for [[gerrit:1189136|SI: Load ext.checkUser.styles on Special:SuggestedInvestigations (T404712)]]

Mentioned in SAL (#wikimedia-operations) [2025-09-17T11:51:39Z] <dreamyjazz@deploy1003> dreamyjazz: Backport for [[gerrit:1189136|SI: Load ext.checkUser.styles on Special:SuggestedInvestigations (T404712)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-09-17T11:57:29Z] <dreamyjazz@deploy1003> Finished scap sync-world: Backport for [[gerrit:1189136|SI: Load ext.checkUser.styles on Special:SuggestedInvestigations (T404712)]] (duration: 11m 29s)