MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=csDeleteComment
(main | csDeleteComment)
- This module requires read rights.
- This module only accepts POST requests.
- Source: CommentStreams
- License: See link
Delete a comment. Either pageid or title must be provided.
Parameters:
- pageid
page ID of the page which holds the comment to delete
- Type: integer
- title
title of the page which holds the comment to delete
- token
A "csrf" token retrieved from action=query&meta=tokens
- This parameter is required.
Examples:
- delete comment with page ID 3
- api.php?action=csDeleteComment&pageid=3 [open in sandbox]
- delete comment with page title CommentStreams:3
- api.php?action=csDeleteComment&title=CommentStreams:3 [open in sandbox]