Do not ignore the 'Prevent this user from editing his own talk page while
authorDavid Barratt <dbarratt@wikimedia.org>
Tue, 27 Nov 2018 06:43:21 +0000 (01:43 -0500)
committerDavid Barratt <dbarratt@wikimedia.org>
Tue, 27 Nov 2018 15:30:21 +0000 (10:30 -0500)
commit93a894a8b38856421eecd26187f4b7a41a670cb8
tree9273c4648558ba3eb9a3572fb300d7c5f83eb506
parent1c04b7ae610fc62d5cc8045d5bccd73188d77b13
Do not ignore the 'Prevent this user from editing his own talk page while
blocked' option on partial blocks.

Partial blocks currently ignore this option as it gets into an edge case. The
option should take precidence if it is true, but should be ignored if it is
false. On sitewide blocks, the option should always be honored.

Bug: T210475
Change-Id: I33177b48a5c261ec3f510ce01998c1b096077b85
includes/user/User.php
tests/phpunit/includes/user/UserTest.php