=== Problem to solve
There are some problematic users who continually violate page creation policies & guidelines, but should otherwise be retained on the wiki as constructive contributors. A sitewide block is not an appropriate way to handle these situations.
------
=== Proposed solution
It would be useful to be able to *only* block users from creating new pages.
------
=== Acceptance criteria
* On Special:Block, under 'Actions to block' add a checkbox for `Creating pages`
** The checkbox should be unchecked by default
** The checkbox should be marked as disabled unless the 'Partial' radio button is selected
** If a user toggles either the 'Editing' checkbox or the Sitewide/Partial radio buttons, the checkbox should save whatever state the user configured it as. The state can be discarded on submit if the block is non-editing or sitewide.
* When a block is saved with the 'Creating pages' checkbox selected, the target user should not be able to create new pages in any namespace via API, via any tool in any editor, or via any Special page.
** TBD: The 'Create' tab should not appear (sitewide blocked user still see the 'Create' tab.)
** TBD: Clicking redlinks should not take the user to the edit mode (sitewide blocked users are still taken to edit mode)
** Error messages should display appropriately inside the user's editor of choice
* When a Partial block is saved with the 'Creating pages' checkbox selected, the log items should indicate page creation is part of the block
** e.g. //23:20, 26 November 2018 AdminUsername (talk | contribs | block) blocked BadUser (talk | contribs) from editing Page(s) and creating pages with an expiration time of N (autoblock disabled) (unblock | change block)//
** e.g. //23:20, 26 November 2018 AdminUsername (talk | contribs | block) blocked BadUser (talk | contribs) from creating pages with an expiration time of N (autoblock disabled) (unblock | change block)//
** similar log messages should exist for modifying blocks to add or remove upload, and to include namespaces within the partial block
* Special:BlockList should display that a user is blocked from creating pages as a bullet in the 'Block parameters' column
* TBD: When the 'Creating page' checkbox is selected, the 'Uploading files' checkbox should become selected and disabled. (Uploading a file creates the file page.)
------
====Potential future enhancements:
These are **out of scope** for this ticket, but may need to be built later:
* All wikis to configure if page creation blocks include pages within a Draft namespace
* All wikis to configure if page creation blocks include sub-pages
* All wikis to configure if page creation blocks include sub-pages of the user's userpage.