This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
Block a user.
User to block.
Specify user=#ID instead.
Expiry time. May be relative (e.g. 5 months or 2 weeks) or absolute (e.g. 2014-09-18T12:34:56Z). If set to infinite, indefinite, or never, the block will never expire.
Reason for block.
Block anonymous users only (i.e. disable anonymous edits for this IP address).
Prevent account creation.
Automatically block the last used IP address, and any subsequent IP addresses they try to login from.
Prevent user from sending email through the wiki. (Requires the blockemail right).
Hide the username from the block log. (Requires the hideuser right).
Allow the user to edit their own talk page (depends on $wgBlockAllowsUTEdit).
If the user is already blocked, overwrite the existing block.
Watch the user's or IP address's user and talk pages.
Change tags to apply to the entry in the block log.
Block user from specific pages or namespaces rather than the entire site.
List of titles to block the user from editing. Only applies when partial is set to true.
List of namespace IDs to block the user from editing. Only applies when partial is set to true.
A "csrf" token retrieved from action=query&meta=tokens