Page MenuHomePhabricator

Special:BlockList reveals an arbitrary Temporary user IP
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

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

What happens?:

The latest IP used by the Temporary account is showed, regardless of timestamp or when the IP was used.

What should have happened instead?:

Since the entry is not associated to a single action by the Temporary account, I expect this to either:

  1. Show all IPs used by that Temporary account (similar to Special:Block)
  2. Show no Show IP button at all.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Originally reported as T379468: Unable to reveal IP for a block action at cs.wikiversity.

Closely related to T379493: Show IP button shows for block entries on Special:RecentChanges where a Temporary account is referenced.

Event Timeline

Similar problems were discussed in T370083: On Special:Log, IP reveal fails if the temp user is the not the performer of the log. In that task the short term was to hide the 'Show IP' button until we could decide what to display there. We could do similar here and then decide if we should show all IPs (or a link to get all IPs).

Dreamy_Jazz set the point value for this task to 1.Mon, Nov 11, 5:56 PM

To reduce confusion, we should remove the 'Show IP' button from Special:BlockList for at least the short term. We can then decide whether to show all IPs or keep the button hidden. This will do similar to T370083 for the same reasons.

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

[mediawiki/extensions/CheckUser@master] Add wgCheckUserSpecialPagesWithoutIPRevealButtons

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

Change #1089843 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Add wgCheckUserSpecialPagesWithoutIPRevealButtons config

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

QA is to check that Special:BlockList does not show the 'Show IP' buttons for temporary accounts.

Djackson-ctr subscribed.

QA has been completed, and the new code change(s) are functioning as expected ("Special:BlockList does not display the 'Show IP' button for temporary accounts.").

Before disabling Show IP button for Temporary Accounts:

image.png (652×1 px, 67 KB)


After disabling Show IP button for Temporary Accounts:

image.png (817×1 px, 75 KB)

image.png (819×1 px, 72 KB)

kostajh claimed this task.