Page MenuHomePhabricator

Show temporary account contributions from a given IP address on Special:IPContributions
Closed, ResolvedPublic

Description

Create a new special page, Special:IPContributions, that works like Special:Contributions but shows contributions from temporary accounts using a particular IP address.

  • Access is limited in the same way as IP reveal
  • Access is logged
  • Valid targets are an IP address or range (within the same limits as for Special:Contributions)

See T361867#9723850 for background.

Related Objects

Event Timeline

Change #1020820 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/extensions/CheckUser@master] ipReveal.js: Link to Special:IPContributions from the revealed IP

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

Change #1028877 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/extensions/CheckUser@master] WIP Display temp account contributions on Special:IPContributions

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

Change #1034045 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/core@master] ContributionsSpecialPage: Make service properties visible to subclasses

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

Change #1034057 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/core@master] ContributionsSpecialPage: Do not run pager query if for is not valid

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

Change #1034133 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/extensions/CheckUser@master] Revert "Show temp account edits on Special:Contributions for an IP address"

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

Change #1034133 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Revert "Show temp account edits on Special:Contributions for an IP address"

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

Change #1034045 merged by jenkins-bot:

[mediawiki/core@master] ContributionsSpecialPage: Make service properties visible to subclasses

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

  • Access is logged

Exactly how depends on the answer to T364902. We should spin this AC out into a separate task.

Change #1034057 merged by jenkins-bot:

[mediawiki/core@master] ContributionsSpecialPage: Do not run pager query if form is not valid

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

Change #1028877 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Display temp account contributions on Special:IPContributions

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

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

[mediawiki/extensions/CheckUser@master] Follow-up fixes to tests of SpecialIPContributions

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

Change #1035042 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Follow-up fixes to tests of SpecialIPContributions

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

Change #1020820 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] ipReveal.js: Link to Special:IPContributions from the revealed IP

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

Testing notes

Special:IPContributions should look like Special:Contributions, with the same form filters and the same information in the results lists.

Special:IPContributions should only accept an IP address or IP range target. It should never show results from fully registered users.

Special:IPContributions should only be available:

  • when temp accounts are enabled
  • to users with the checkuser-temporary-account-no-preference OR the checkuser-temporary-account right with the preference checked

Change #1040149 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/CheckUser@master] SpecialPageInitListHandler: Use TempUserConfig

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

Change #1040149 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] SpecialPageInitListHandler: Use TempUserConfig

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

Djackson-ctr subscribed.

I have verified the new code has been implemented and is functioning and displaying as expected, thank you for the Testing Notes @Tchanders.

image.png (551×1 px, 39 KB)

image.png (599×1 px, 74 KB)

image.png (418×1 px, 55 KB)

image.png (750×1 px, 64 KB)