Page MenuHomePhabricator

Surface information about temporary accounts on Contributions pages
Closed, ResolvedPublic

Description

Motivation

Accessing information about temporary accounts can be difficult, especially if one does not have UserInfo card enabled. We can make patrolling easier by surfacing information on contributions pages.

Acceptance criteria:
  • Add "Temporary accounts from all associated IPs" (surfaced in UserInfo card) on:
    • Special:Contributions (temp account)
  • Add the number of different temp accounts using the same IP along with number of blocked temp accounts ("Temp accounts on this IP: $x (Blocked: $y)") on:
    • Special:Contributions (legacy IP)
    • Special:IPContributions

Proposed mock

image.png (268×1 px, 124 KB)

Event Timeline

Niharika triaged this task as Medium priority.
mszwarc changed the task status from Open to In Progress.Dec 11 2025, 9:00 AM
mszwarc claimed this task.
  • Add "Temporary accounts from all associated IPs" (surfaced in UserInfo card) on:
    • Special:Contributions (temp account)

@Niharika Should this information be gated behind some right? Currently, this number is available only in UIC, so only registered users can see this data. When we embed it onto contributions, it'll be viewable by anyone. Is that okay?

  • Add the number of different temp accounts using the same IP along with number of blocked temp accounts ("Temp accounts on this IP: $x (Blocked: $y)") on:
    • Special:Contributions (legacy IP)

I think this makes sense to be gated behind the same permissions as required for IP Reveal, since it's more specific than the above (and kind of related to IP Reveal function)?

  • Add "Temporary accounts from all associated IPs" (surfaced in UserInfo card) on:
    • Special:Contributions (temp account)

@Niharika Should this information be gated behind some right? Currently, this number is available only in UIC, so only registered users can see this data. When we embed it onto contributions, it'll be viewable by anyone. Is that okay?

Is it possible to make it visible to registered users only?

  • Add the number of different temp accounts using the same IP along with number of blocked temp accounts ("Temp accounts on this IP: $x (Blocked: $y)") on:
    • Special:Contributions (legacy IP)

I think this makes sense to be gated behind the same permissions as required for IP Reveal, since it's more specific than the above (and kind of related to IP Reveal function)?

+1, I think this should be gated behind IP reveal rights

  • Add "Temporary accounts from all associated IPs" (surfaced in UserInfo card) on:
    • Special:Contributions (temp account)

@Niharika Should this information be gated behind some right? Currently, this number is available only in UIC, so only registered users can see this data. When we embed it onto contributions, it'll be viewable by anyone. Is that okay?

Is it possible to make it visible to registered users only?

It's possible as well.

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

[mediawiki/core@master] Use span tags for Special:Contributions subtitle

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

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

[mediawiki/extensions/CheckUser@master] Add number of temporary accounts on associated IPs to contribs pages

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

I agree with your suggestions @mszwarc. Can you please share a screenshot of the end result? Thanks.

Can you please share a screenshot of the end result?

Special:Contributions/(temp account):

image.png (465×2 px, 76 KB)

Special:IPContributions/(ip): – for this I'll soon upload a separate patch (other than the above)

image.png (377×2 px, 96 KB)

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

[mediawiki/extensions/CheckUser@master] Display the number of temp. accounts on the IP on contributions page

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

Change #1217490 merged by jenkins-bot:

[mediawiki/core@master] Use span tags for Special:Contributions subtitle

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

Change #1217491 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Add number of temporary accounts on associated IPs to contribs pages

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

Change #1217543 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Display the number of temp. accounts on the IP on contributions page

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