Steps to Reproduce:
When you are blocked, but editing talk page is allowed, edit it.
Actual Results:
User which have patrol right or it is administrator have to patrol it change.
Expected Results:
Edit should be automaticlly patrolled.
Steps to Reproduce:
When you are blocked, but editing talk page is allowed, edit it.
Actual Results:
User which have patrol right or it is administrator have to patrol it change.
Expected Results:
Edit should be automaticlly patrolled.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Allow users to autopatrol their own talk page when blocked | mediawiki/core | master | +1 -1 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Declined | BUG REPORT | None | T194789 Talk page of blocked user is not patrolled when user edits own talk page and has autopatrol right | ||
Declined | BUG REPORT | None | T194756 Blocked user should be allowed to edit subpages of own user talk page |
Looks like this check happens in WikiPage:
// Mark as patrolled if the user can do so $autopatrolled = $wgUseRCPatrol && !count( $this->mTitle->getUserPermissionsErrors( 'autopatrol', $user ) );
Title::getUserPermissionsErrors() calls Title::checkUserBlock(), which calls User::isBlockedFrom(), but only for $action == 'edit' || $action == 'create'. We should probably add 'autopatrol' to that list.
Change 433327 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/core@master] Allow users to autopatrol their own talk page when blocked
I wonder whether this is actually a good idea. If someone is blocked, an admin probably should look at whatever the person posts on their talk page to see whether it's an unblock request or just disrupting the only page they still can edit.
Change 433327 abandoned by Bartosz Dziewoński:
Allow users to autopatrol their own talk page when blocked
Reason:
There is some disagreement as to whether this is desirable, and I don't really care that much myself.