Add new rules when user is blocked for UTP
authorDayllan Maza <dmaza@wikimedia.org>
Mon, 3 Dec 2018 13:20:47 +0000 (08:20 -0500)
committerDayllan Maza <dmaza@wikimedia.org>
Tue, 11 Dec 2018 05:01:29 +0000 (00:01 -0500)
commit05a5b8e749ff751c7ebba39fe1399a771c1fdafa
tree233221deb941ec7c2494f592359b518d5ce39109
parent6228415557b1206dce035c9a2751378d120e34e7
Add new rules when user is blocked for UTP

No changes for sitewide blocks when "Prevent user... edit own talk page"
is checked. On partial blocks, this option will be disabled and ignored. All users
will be allowed to edit their own talk page unless a page restriction
for their page is in place.

New rules will be implemented for Namespace restrictions in a different
patch when Namespace blocking is ready.

Bug: T210475
Change-Id: I096edf2887441bccd59f09bf0eceb3988b36db1e
includes/Block.php
includes/DefaultSettings.php
includes/user/User.php
resources/src/mediawiki.special.block.js
tests/phpunit/includes/user/UserTest.php