Rename IP::isValidBlock to isValidRange, deprecating the former
authorMusikAnimal <musikanimal@gmail.com>
Wed, 23 Aug 2017 00:07:35 +0000 (20:07 -0400)
committerMaxSem <maxsem.wiki@gmail.com>
Tue, 29 Aug 2017 18:26:12 +0000 (18:26 +0000)
commita23183010ed4fe4bfb3e47e29174d59cbe1ec98e
tree6f8e00b530e9ffdd61ee6b099997f549641fea3e
parent0f13fff1604778397c4ca3072ab80ef113c936ff
Rename IP::isValidBlock to isValidRange, deprecating the former

This is to remove confusion with the MediaWiki Block class.

All instances of isValidBlock within MediaWiki core have been updated.

Usage of this function will be more widespread with this patch:
https://gerrit.wikimedia.org/r/#/c/349457/

Change-Id: Ice1bdae3d16cf365da14c6df0e8d91d2b914e067
RELEASE-NOTES-1.30
includes/Block.php
includes/libs/IP.php
tests/phpunit/includes/libs/IPTest.php