Page MenuHomePhabricator

Add Show IP button to Special:GlobalContributions
Open, Needs TriagePublic

Description

Background

From T404718:

When doing xwiki patrolling, one needs to go through the IP to see what other Temporary accounts are active on the same IP(s). Special:GlobalContributions doesn't currently include the Show IP button, which means a xwiki patroller needs to go through all the wikis and do Show IP there.

Acceptance criteria
  • Show IP buttons are added next to temporary user links in Special:GlobalContributions
  • Clicking on the buttons looks up the IP at the correct wiki
  • Multi-reveal and auto-reveal work correctly on Special:GlobalContributions

Event Timeline

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

[mediawiki/extensions/CheckUser@master] WIP Add IP reveal buttons to Special:GlobalContributions

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

Testing the patch

Setup:

IP reveal - Test that clicking on "Show IP" buttons reveals correct IPs for the local and external wiki on:

  • Special:GlobalContributions/~1234
  • Special:GlobalContributions/::1/32
  • Equivalent local contributions pages

Multi-reveal - Test that clicking on one "Show IP" button reveals all the IPs for that temp user (local and external).

Pre-reveal - Test that already-revealed local and global IPs stay revealed for that user when browsing around, e.g. history pages, etc.

Auto-reveal - Clear localStorage first, so no IPs are revealed, then:

  • Enable auto-reveal
  • For the same pages (or similar), test that all the IPs are revealed
  • Disable auto-reveal
  • Test that all the IPs are now hidden