Summary
- As part of T388377: Special:GlobalContributions on mobile/Minerva displays an empty pair of parentheses at the end of (non-central-wiki) rows, we updated how the usernames are shown in the list of Special:GlobalContributions,
- However, with that change alone, temporary accounts in Special:GlobalContributions are not highlighted like in other pages to show that they are indeed temporary: They are strikenthrough and have a tooltip when expired, but their background is not changed, keeping it the same way as for normal accounts.
- When an account in Special:GlobalContributions is temporary, expired or not, it should have a different background, consistent with how they are shown in other pages.
Background
- The former patch to strikethrough expired temp accounts in Special:GlobalContributions is here: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CheckUser/+/1126627
- That patch adds the mw-tempuserlink-expiredCSS class and a tooltip to show whether a temporary account is expired.
- How expired temp accounts are shown after the former patch:
- How expired temporary accounts should be shown instead:
Technical notes
- This seems to happen because of the styles defined as part of the CSS rules applied by the .plainlinks a.external CSS selector, which is now applied to all links part of each log entry in Special:GlobalContributions.
- Likely, tests at integration/GlobalContributions/GlobalContributionsPagerTest.php would need to be updated, see https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CheckUser/+/1126627/38..42
- A partial solution that did not end up being merged can be found here https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CheckUser/+/1126627/49..50 and may serve as a starting point for this task.
Acceptance criteria
- Expired temporary accounts Special:GlobalContributions are shown the same way as in other pages.


