Last modified: 2012-12-16 01:59:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38780, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36780 - Improve display of IPv6 addresses
Improve display of IPv6 addresses
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: ipv6
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-11 19:23 UTC by Aaron Schulz
Modified: 2012-12-16 01:59 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Update userLink to prettify ip addresses (571 bytes, patch)
2012-05-22 23:30 UTC, Chris Steipp
Details

Description Aaron Schulz 2012-05-11 19:23:58 UTC
History pages and many other places should use the new IP::prettifyIP() function proposed in Gerrit. Currently, they show in all caps and in expanded form (e.g. A:B:C:D:E:F:0:1).
Comment 1 Aaron Schulz 2012-05-11 19:24:44 UTC
Also see https://gerrit.wikimedia.org/r/#/c/7296/.
Comment 2 Chris Steipp 2012-05-22 23:30:07 UTC
Created attachment 10642 [details]
Update userLink to prettify ip addresses

Aaron, I (finally) took a look into this, and made an update that I think is what you were looking for. It seems like all of the places where the IP is shown call Linker::userLink. So I think Prettifying the IP there would be the right way.

But was that what you were thinking?
Comment 3 Aaron Schulz 2012-05-23 03:20:31 UTC
Yeah that looks reasonable.
Comment 4 Sumana Harihareswara 2012-05-23 18:53:38 UTC
Are these keywords right?
Comment 5 Aaron Schulz 2012-05-23 21:09:11 UTC
(In reply to comment #2)
> Created attachment 10642 [details]
> Update userLink to prettify ip addresses
> 
> Aaron, I (finally) took a look into this, and made an update that I think is
> what you were looking for. It seems like all of the places where the IP is
> shown call Linker::userLink. So I think Prettifying the IP there would be the
> right way.
> 
> But was that what you were thinking?

Can this go in gerrit?
Comment 6 Sven Manguard 2012-06-06 00:35:38 UTC
In my unqualified opinion, it's much easier for the non-technical (i.e. the non-Bugzilla community people to understand "2001:0db8:0:0:0:0:1428:57ab" than it is to understand "2001:db8::1428:57".

Cheers, 
Sven
Comment 7 Marcin Cieślak 2012-06-15 00:31:07 UTC
Should be tested on PostgreSQL as its CIDR type already shortens IPv6 addresses.

See also bug 37612.
Comment 8 matanya 2012-08-04 20:41:24 UTC
Pushed the patch to gerrit:

https://gerrit.wikimedia.org/r/#/c/17671/
Comment 9 Kunal Mehta (Legoktm) 2012-12-16 01:59:09 UTC
Someone mentioned this in #wikipedia-en and I took a look at the changeset, and didn't see anything obvious, so:

Will this move all currently existing User talk pages to the new location? And subsequently all relevant logs like block log, abusefilter log? I'm also wondering if this will break links like [[User talk:2602:306:CE3C:50E0:F8EA:4EB8:BC87:5CD1]]?

If this will do all of that, then wow, great! If not, we have a problem...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links