Old short/abbreviated IPv6 addresses in Changelog should be turned into long format
Open, LowPublic

Description

[[mw:Manual:IPv6 support]] says that in MediaWiki, IPv6 addresses in MediaWiki are always in their full length. But this doesn't always seem to be the case: The revision https://fi.wikipedia.org/w/index.php?oldid=72074 shows with the address of 2002:3e8e:71b::3e8e:71b (notice the ::).

This also means that Special:Contributions doesn't work for this address: [[fi:Special:Contributions/2002:3e8e:71b::3e8e:71b]] incorrectly shows an empty list.

This could be related to bug 44800.


Version: 1.22.0
Severity: enhancement
URL: https://fi.wikipedia.org/w/index.php?oldid=72074
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=44800
https://bugzilla.wikimedia.org/show_bug.cgi?id=39017
https://bugzilla.wikimedia.org/show_bug.cgi?id=44161

Details

Reference
bz54219
bzimport raised the priority of this task from to Low.
bzimport set Reference to bz54219.
bzimport added a subscriber: Unknown Object (MLST).
Svick created this task.Sep 17 2013, 11:51 AM

Thanks for taking the time to report this! Confirming.

Same shown here: https://fi.wikipedia.org/w/index.php?title=Helsinki&offset=20041101050307&limit=3&action=history

However, that edit is from 2004. Would love to know if there are more recent examples for this problem...

Seems unrelated to bug 44800 because the address is in revision table instead of recentchanges.

I guess what we need now is a script to fix existing compact IPv6 addresses.

Svick added a comment.Sep 17 2013, 4:40 PM

I don't understand the updated title. Where does “misses last character” come from? Three-letter parts are perfectly fine in IPv6 addresses.

Svick added a comment.Sep 17 2013, 4:45 PM

However, that edit is from 2004. Would love to know if there are more recent

examples for this problem...

Not on fiwiki. There are 25 IPv6 edits with "::" in them, from 4 different addresses, but all of them are from October and November 2004.

There was a change to use always the full format and not the short. That means in 2004 the short format was used (and saved), which includes also missing leading zeros and than you have 3 characters.

2002:3e8e:71b::3e8e:71b
is the shortest form, where
2002:3e8e:071b:0000:0000:0000:3e8e:071b
is the longest form

Needs maintenance script

Thanks for explaining - I didn't know that.

It would make sense to revert this completely, because it's actually rather confusing given that Special:Contribs and other places now show it in the short format.