X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FBlock.php;h=4729f50cedf9ea56c92438c42df20c3762ac81f3;hb=13f159a3a093e84544b85614901af18c14cf8c62;hp=b57b3e8b929bae946134fd7148c82e664f00828e;hpb=b85aeec5e2d637fdeab9366df9a96abfba433778;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Block.php b/includes/Block.php index b57b3e8b92..4729f50ced 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -308,8 +308,8 @@ class Block { if ( $block->getType() == self::TYPE_RANGE ) { # This is the number of bits that are allowed to vary in the block, give # or take some floating point errors - $end = wfBaseconvert( $block->getRangeEnd(), 16, 10 ); - $start = wfBaseconvert( $block->getRangeStart(), 16, 10 ); + $end = Wikimedia\base_convert( $block->getRangeEnd(), 16, 10 ); + $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