IPv6 at some places lower case and at other places in upper case


When a IPv6 is making a edit, the link text on the Watchlist is in lower case, but the link to Special:Contributions has the ipv6 in upper case in it.

That is confusing. It is possible to have the ipv6 showing all the same on each place? I have no problem, when the user page of a ipv6 is under the lower case name, that looks better, than the upper cases.

Version: 1.21.x
Severity: minor
See Also:

bzimport added a subscriber: Unknown Object (MLST).
bzimport set Reference to bz44161.
duplicatebug created this task.Via LegacyJan 19 2013, 7:19 PM
Aklapper added a comment.Via ConduitJan 21 2013, 7:23 AM

Not sure if this is a dup or a dep of bug 39017, hence marking as dep only.

TTO added a comment.Via ConduitMar 17 2013, 9:57 AM

This is causing problems for Twinkle on enwiki (which is forced to lightly screen-scrape the loaded page in order to find out what the user is looking at).

Either IP::prettifyIP [1] should be used everywhere, or nowhere. According to [2] this function is only called from one place in the code.

IMHO it is too difficult to change over to sanitized IP addresses throughout the entire codebase, so I say we kill prettifyIP (or at least remove its sole invocation [3]).

[1] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=includes/IP.php;h=72b9a52c8123d863bdbe44161c9760af778b496e;hb=HEAD#l195
[2] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki%2Fcore.git&a=search&h=HEAD&st=grep&s=prettifyIP
[3] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=includes/Linker.php;h=972adfceabbe818e97d192c142440263a11b6af1;hb=HEAD#l1085

Jasper added a comment.Via ConduitMay 12 2013, 7:28 AM

It is important to note that if MediaWiki completely converted to the proper standard, thousands of IP talk pages and many more database entries would have to be updated.

I'm fine any way for prettifyIP, but others do find collapsed addresses more convenient.

gerritbot added a comment.Via ConduitOct 28 2013, 4:18 AM

Change 92263 had a related patch set uploaded by TTO:
Stop using prettifyIP for user links


gerritbot added a comment.Via ConduitNov 19 2014, 10:45 AM

Change 92263 abandoned by TTO:
Stop using prettifyIP for user links

I don't think this is ever going to get anywhere.


duplicatebug removed a subscriber: duplicatebug.Via WebDec 13 2014, 4:37 PM

Add Comment