What is the problem?
If I am sitewide blocked but allowed to edit my own User_talk, I cannot edit tags of revisions on my User_talk page.
Similarly, if I use the API to edit my User_talk and specify tags for the edit, I am blocked from editing.
This does not apply if I am only partially blocked.
I believe we prevent tagging on any page (including own User_talk) if the user is sitewide blocked (e.g. here and here), but a user can be sitewide blocked but still allowed to edit their own User_talk.
Found as part of testing T221444#5484526.
Steps to reproduce problem
Make sure $user has the changetags right
- Block $user with a sitewide block, but make sure Editing their own talk page (or equivalent) is not checked
- Login as $user
- Go to User_talk:$user
- Go to history
- Check a revision and click Edit tags of selected revisions
- Add or remove a tag and click submit
Expected behavior: Tag is applied to revision; see a message like The changes were applied.
Observed behavior: See the error The changes could not be applied: You cannot add or remove change tags while you are blocked.