Page MenuHomePhabricator

IP Information view in Special:Contributions is confusing for Temporary accounts with more than one IP
Open, Needs TriagePublic

Description

IP info is usually invoked from Special:Contributions and it can be used on IP addresses and Temporary accounts. Unfortunately, Temporary accounts can have more than one IP address attached. In addition to that, information displayed by IP Info are directly tied to a particular IP address and they cannot be easily transferred to other IP addresses (even if they are used by the same user).

When the IP info tool is used on a temporary account, it prints a bunch of information at the account level, creating the impression that they apply for the Temporary account as a while. In reality, they only apply to an arbitrary IP the Temporary account used in the past.

An example of this is https://test.wikipedia.org/wiki/Special:Contributions/~2024-15626, where I made 4 edits from 3 separate IP addresses. On that account, IP info looks like this:

image.png (767×941 px, 174 KB)

In this case, all 3 IPs I used indeed geolocate to Prague. However, only some of them belong to the CESNET organisation. In this case, the IPv6 is the only address that does not belong to CESNET (despite IP Info claiming the opposite).

Event Timeline

I think IP Info should not pretend it is able to merge information about different IPs together. I think it would be reasonable to restrict ourselves to a link to Special:IPInfo, which can list all the different IPs and data for it. For some reason, Special:IPInfo contains far less details than IP Contributions itself.

I believe this should be showing data from the latest IP only, so this looks like a bug to me. @mszabo do you know if my assumption is right?

It's based on the specs from T340895: [Epic] IP Info accommodations for temporary accounts.

Edit: I don't think this is a bug. IP Info accordion is displaying the information for the most recent IP address used by the account. This seems to be a messaging issue than a bug in the code itself.

For some reason, Special:IPInfo contains far less details than IP Contributions itself.

@Urbanecm can you elaborate on this? It should contain the same information as Special:IPContributions.

I believe this should be showing data from the latest IP only, so this looks like a bug to me. @mszabo do you know if my assumption is right?

It's based on the specs from T340895: [Epic] IP Info accommodations for temporary accounts.

IPInfo indeed shows data based on the latest IP address only. The data shown in the IPInfo table appears to line up with the data associated with the latest IP address displayed on Special:IPInfo, in MaxMind, and in ipoid.

I'm not seeing a bug here. We could add a help text to the IPInfo table on temporary account contributions pages to clarify that the data shown is associated with the most recently used IP address.

Based on Martin's findings on T380309, the confusion here is likely stemming from IPInfo incorrectly displaying "IPv6" as the IP version for temporary accounts, even if the most recently used IP address was an IPv4 address.