MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=commentblock
(main | commentblock)
- This module requires read rights.
- This module requires write rights.
- This module only accepts POST requests.
- Source: Comments
- License: GPL-2.0+
The commentblock API allows blocking a user from the comment it originated from after filling out the following parameters: CommentID.
Parameters:
- commentID
Comment ID of the comment by user which is to be blocked
- This parameter is required.
- Type: integer
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.