Motivation
Temporary accounts are presently not highlighted in content and discussion areas, unlike log and history pages. This makes it difficult for patrollers to immediately identify temp accounts. To be consistent with other pages, we need to update content and discussion pages (signatures particularly) to support the same highlighting color.
Spec:
From T347209: Investigate: Grey background for temporary usernames in signatures, mentions etc:
Temporary account links should be styled with a gray background (consistent with temp account links in log & history pages)...
- ...when mentioned in content areas. For example: https://meta.wikimedia.org/wiki/Steward_requests/Global#Global_block_for_~2025-32013-87 and https://en.wikipedia.org/wiki/Wikipedia:Sockpuppet_investigations/ThijsStoop#08_November_2025
- ...in signatures on talk page discussions
- For simplicity, we should only highlight links that link to
- the temporary account user page or
- the temporary account contributions page.
- In addition, we can limit the highlights to links where the text is a temporary account username that matches the user whose contributions/user page is being linked to. Consistent with what was done here - T398952#10995352
- All other linkages can be disregarded.
Older description:
In order to implement the design described in T347209, this will ensure that the three places which call the GetLinkColours hook all include link colors for temporary usernames as well.