Add the concept of "system blocks"
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 1 Dec 2016 16:51:03 +0000 (11:51 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Fri, 16 Dec 2016 17:30:03 +0000 (12:30 -0500)
commit01a3b2b0bf6519922c4e13f5b68cf7cfb3547a21
tree1bd7bcd60a36bc178192907f5c2001002610841e
parent8373bf3fc0d901adda07807124b81e89f2c33fb2
Add the concept of "system blocks"

Blocks made for configured proxies, dnsbls, or the configured range
soft-blocks being added in I6c11a6b9 aren't real blocks stored in the
database. Let's actually flag these blocks as such and use a more
appropriate message when displaying them to the user.

Change-Id: I697e3eec2520792e98c193200c2b1c28c35bf382
14 files changed:
RELEASE-NOTES-1.29
includes/Block.php
includes/EditPage.php
includes/api/ApiBase.php
includes/api/ApiMessage.php
includes/api/ApiQueryUserInfo.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json
includes/user/User.php
languages/i18n/en.json
languages/i18n/qqq.json
tests/phpunit/includes/BlockTest.php
tests/phpunit/includes/TitlePermissionTest.php
tests/phpunit/includes/api/ApiBaseTest.php