"TheDJ" posted a comment on MediaWiki.r111829.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/111829#c31228

Commit summary for MediaWiki.r111829:

Add support to tablesorter to handle IP/CIDR notation

This fixes bug 34475

TheDJ's comment:

OK, i might have found a way, but it's becoming a rather complex function 
now... It will also require testing on IE. BTW, what do you guys expect to sort 
higher ? So what is the expectation regarding sort order ? I currently have:

Ascending:
10.0.0.0/8
10.5.5.5/8
10.0.0.0/16
10.0.0.0/32,
10.0.0.0
10.5.5.5
192.168.0.0/8
192.168.0.0/32
192.168.0.0

That is masked value from big to small, then for equal subsets, subordered by 
unmasked value. A /32 is also 'smaller' than an unmasked IP address. 

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to