r78097 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78096‎ | r78097 | r78098 >
Date:22:18, 8 December 2010
Author:aaron
Status:ok
Tags:
Comment:
Fixed r76560: one more caller of now-private toUnsigned6
Modified paths:
  • /trunk/phase3/includes/Block.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Block.php
@@ -815,7 +815,7 @@
816816 // IPv6
817817 if ( IP::isIPv6( $range ) && $parts[1] >= 64 && $parts[1] <= 128 ) {
818818 $bits = $parts[1];
819 - $ipint = IP::toUnsigned6( $parts[0] );
 819+ $ipint = IP::toUnsigned( $parts[0] );
820820 # Native 32 bit functions WON'T work here!!!
821821 # Convert to a padded binary number
822822 $network = wfBaseConvert( $ipint, 10, 2, 128 );

Follow-up revisions

RevisionCommit summaryAuthorDate
r784371.17: Merge tagged revisions from trunk: r77878, r77981, r77982, r77994, r780...catrope14:14, 15 December 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r76560* Changes in IP.php:...aaron01:33, 12 November 2010

Status & tagging log