Update an old comment that predated IPv6
authorThalia <thalia.e.chan@googlemail.com>
Wed, 1 May 2019 17:28:55 +0000 (18:28 +0100)
committerThalia <thalia.e.chan@googlemail.com>
Wed, 1 May 2019 17:28:55 +0000 (18:28 +0100)
Change-Id: Ia9968eab3793f275cd7ca6a35cfd5b0bcc9604c5

includes/Block.php

index 3f17d84..3ac367a 100644 (file)
@@ -392,8 +392,7 @@ class Block {
                                $start = Wikimedia\base_convert( $block->getRangeStart(), 16, 10 );
                                $size = log( $end - $start + 1, 2 );
 
-                               # This has the nice property that a /32 block is ranked equally with a
-                               # single-IP block, which is exactly what it is...
+                               # Rank a range block covering a single IP equally with a single-IP block
                                $score = self::TYPE_RANGE - 1 + ( $size / 128 );
 
                        } else {