Enforce partial blocks
authorDayllan Maza <dayllan.maza@gmail.com>
Mon, 27 Aug 2018 01:45:18 +0000 (21:45 -0400)
committerDbarratt <dbarratt@wikimedia.org>
Wed, 24 Oct 2018 00:57:48 +0000 (00:57 +0000)
commitd67121f6d3961bb7dfc44f71e8b5a4b8b9279eef
treecc3b2784681684f96ba7d8a69443e7db13ee0df7
parenta562611e5b1a998c09dee0cf3022a1ba3935397a
Enforce partial blocks

Enforce partial blocks and display a slightly different block
notice depending on if the block is sitewide or not

Bug: T197117
Depends-On: I675316dddf272fd0d6172ecad3882160752bf780
Change-Id: I8a3635a4a04a33912eb139b7b13c4bd874183d31
13 files changed:
includes/Block.php
includes/api/ApiBase.php
includes/api/ApiEditPage.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json
includes/specials/SpecialEmailuser.php
includes/specials/SpecialUpload.php
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/ApiQueryInfoTest.php