Page MenuHomePhabricator

IP Address Reveal on History page
Closed, ResolvedPublic2 Estimated Story Points

Description

Motivation

See parent T325238: [Epic] IP Address Reveal for Privileged Users for details.

Proposed mockup

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

The revealed IP address would say "show IP" before reveal occurs.

Testing notes

This is best tested along with T326415: Add (show IP) buttons next to temporary account user name links, which adds the buttons.

It should be tested locally, since it requires $wgAutoCreateTempUser['enabled'] = true; (only available on Beta) and the CheckUser extension (not available on Beta). It can't be fully tested on PatchDemo, because it isn't possible to edit from different IP addresses there.

Steps to test:

  • Edit some article from at least one temporary account, using at least two different IP addresses for that account
  • Go to the article's history page
  • Clicking on the "Reveal IP" buttons should reveal the correct IP addresses for each edit. Specifically, it should reveal different IP addresses, even for the same temporary account name.

Event Timeline

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

[mediawiki/core@master] Linker: Pass revision ID through to user link

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

Change 878018 merged by jenkins-bot:

[mediawiki/core@master] Linker: Pass revision ID through to user link

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

Moving this to stalled for now, as it's difficult for QA to test until the patches underneath are merged. Thanks @AGueyte

Moving this to stalled for now, as it's difficult for QA to test until the patches underneath are merged. Thanks @AGueyte

Stalling this again - sorry I should clarify that it's going to be easier to test this once T326415: Add (show IP) buttons next to temporary account user name links is merged, since that adds the reveal buttons.

ARamirez_WMF set the point value for this task to 2.Jan 25 2023, 7:01 PM

@Tchanders There was one issue just like in T326395, regarding not having the option of Show IP, in Safari. Also I did not have an issue when Special:Preferences#mw-prefsection-rc was unchecked like T326395 did. Otherwise I validated that it displays both different IP addresses I used with the same temp account as seen in the screenshots.

Skins: Vector 2022, Vector 2010, Timeless. MonoBook, Minerva

OS: macOS 13.0
Browsers: Chrome 109, Safari 16, FireFox 109
Environment: Local

Safari- No Show IP

T326392_IPMasking_Safari_NoShow.png (907×1 px, 290 KB)

2 IP addresses with the same temp acct

T326392_IPMasking_History.png (1×1 px, 345 KB)

Result
T326392_IPMasking_History_Result.png (137×771 px, 24 KB)

Safari- No Show IP

T326392_IPMasking_Safari_NoShow.png (907×1 px, 290 KB)

Thanks for finding this - filed as T328754: IP reveal buttons not displaying on Safari.

If that's the only problem, I'm happy to move this on if you are.

@Tchanders I'm also good with moving this to Done since we have a ticket for T328754: IP reveal buttons not displaying on Safari. Thanks!