Page MenuHomePhabricator

Special:IPInfo: The "Show IP" button is broken when viewing a temporary account
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  1. Open Special:IPInfo for temporary account that has recently made an action
  2. Click "Show IP" on the IP

What happens?:
Notice that the IP is not displayed and instead "error" is displayed:

image.png (1,848×854 px, 78 KB)

Also in the browser console, an invalid request is made:

image.png (1,518×142 px, 22 KB)

image.png (896×372 px, 38 KB)

What should have happened instead?:
The IP should have been shown when the user pressed "Show IP"

Details

Event Timeline

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

[mediawiki/extensions/IPInfo@master] Fix IP reveal on Special:IPInfo

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

Change #1146541 merged by jenkins-bot:

[mediawiki/extensions/IPInfo@master] Fix IP reveal on Special:IPInfo

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

Djackson-ctr subscribed.

QA is completed, I have verified the new code has been implemented and is functioning as expected (The IP address is shown when the user selects the "Show IP" button).