====Problem to solve
Full site blocks are not always appropriate in all cases of user misconduct.
------
====Proposed solution
To retain constructive contributors who cause disruption on one page (e.g. contentious article page, user talk page of someone they constantly berate, etc.) we could give admins the ability to block them from editing one specific page or all articles inside a namespace or category.
------
====Proposed implementation
* Checkbox for "Block this user from the whole site" is checked by default when navigating to Special:Block
* On Special:Block, introduce a method to block a user from a specific page, category, or namespace
** UI TBD — a new tab? checkboxes/dropdowns? potential wireframes below.
* Block options should include:
** Page and/or category name(s)
*** Existing pages/categories only, validation required in the input field.
*** Autosuggest selector?
*** Pages can be from any namespace
*** If a page or category is moved, the user should still be blocked from editing (e.g. block by page ID, not page name)
** Namespace name(s)
*** Dropdown with existing, potentially like on RecentChanges
* Block logs should display everywhere the current block displays (user page, Special:Block for the user, Special:Log, anywhere else?)
** Log should include `TIMESTAMP Admin-who-blocked (t|c|b) blocked BadApples (t|c) from editing the page Foobar with an expiration time of N (reason) (unblock | change block)`
* When a user attempts to edit an applicable page, they should see a new type of block warning message which include information on their block (reason, expiration, etc.)
* Only one block per user (like it is today) — to update the block, admins will need to modify the block.
* Available to usernames only, not IPs or IP ranges
* If a granular block is set, the checkbox for `Prevent this user from editing his own talk page while blocked` should be marked as disabled (unless they are blocking the `User talk` namespace).
* Help tooltips for the new fields
* Blocks can be overlapping
* If a category is provided, the blocked user cannot edit either the category page itself and all pages within the category.
------
====Hyperlinks
* [[https://meta.wikimedia.org/wiki/2015_Community_Wishlist_Survey/Moderation_and_admin_tools#Enhanced_per-user.2C_per-article_protection_.2F_blocking|2015 Community Wishlist survey proposal]], where it received 52 support votes, and was ranked #14 out of 107 proposals.
* [[https://meta.wikimedia.org/wiki/Community_health_initiative/Per_user_page_block|Per user page block]] documentation on Meta Wiki
------
====Potential wireframes
We need to discuss these on-wiki to make sure they are understandable:
{F16720064}
{F16720065}