Disallow user suppression in a partial block
authorThalia <thalia.e.chan@googlemail.com>
Mon, 14 Jan 2019 14:21:50 +0000 (14:21 +0000)
committerDmaza <dmaza@wikimedia.org>
Tue, 5 Feb 2019 23:11:12 +0000 (23:11 +0000)
commit83407d97a136101dd130eb1dbb7186345a89b733
tree950e8c6bb5c7163b4336fd64d70ec2124cd64c41
parente26e0d1fc84693f488dd30bfc9c9648d8301fb79
Disallow user suppression in a partial block

Hide the "hide user" checkbox on Special:Block if the block
parameters specify a partial block. Return an error message
if a partial block with user suppression is specified via
the API. Also, make sure that an existing user suppression
is lifted if the user's block is reset to a partial block.

Bug: T210002
Change-Id: If42edfc85580d6bad6f4b397517e77e63deecc87
includes/specials/SpecialBlock.php
languages/i18n/en.json
languages/i18n/qqq.json
resources/src/mediawiki.special.block.js