Page MenuHomePhabricator

IP contributions are prefixed with 0| and the links are broken
Closed, ResolvedPublicBUG REPORT

Description

The WikiWho API prefixes IP contributions with 0|. This means both the display of the username (IP in this case) and the links are incorrect.

Expected result

The display and links for IPs should be the correct targets.

Actual result

The username is shown as 0|192.168.0.1 instead of 192.168.0.1, and the links are also broken.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 4 2019, 2:09 AM
MusikAnimal updated the task description. (Show Details)Sep 4 2019, 3:38 AM
MusikAnimal changed the subtype of this task from "Task" to "Bug Report".Sep 4 2019, 5:03 PM
dom_walden added a subscriber: dom_walden.

IP addresses display correctly in the revision details popup. The "talk" and "contribs" links are correct.

For IPs, it should be noted that the username link goes to Special:Contributions/$ip. For regular users, the same link goes to Talk:$username.

I tested it with both IPv4 and IPv6 addresses. There is a display issue with IPv6, where the address gets cut off (T232211).

ifried updated the task description. (Show Details)Sep 6 2019, 7:27 PM
ifried updated the task description. (Show Details)
ifried closed this task as Resolved.Sep 6 2019, 9:59 PM