User "Brion VIBBER" changed the status of MediaWiki.r76560.

Old Status: new
New Status: resolved

User "Brion VIBBER" also posted a comment on MediaWiki.r76560.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/76560#c21998
Commit summary:

* Changes in IP.php:
** Fixed hexToOctet()/toOctet() padding (pad left not right)
** Made hexToQuad() left-pad input (e.g. C -> 0000000C)
** Added isPublic6() function (checked as needed by isPublic())
** Rewrote isValidBlock() to not do flaky and roundabout isArray() check. Works 
for v6 now.
** Removed toArray(), unused outside IP.php and broken for v6
** Removed toOctet() duplication
** Added new private IPv6ToRawHex() function. Used to make toHex() faster.
** Made some functions private
** Reverted r20435, pointless
** Updated credits
* Changes in IPTests:
** Added a bunch of tests (mostly v6)
** Removed weird array test (especially with toArray() gone) after r76514
** Padding *no* longer needed for hexToX functions - assertion flipped
* CheckUser: removed parseRange6() reference (now private)

Comment:

Confirmed that this fixes the test cases (and the equiv change was confirmed to 
fix the reported live problem). Thanks!

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

Reply via email to