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