MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=csdeletecomment

(main | csdeletecomment)
  • This module requires read rights.
  • This module only accepts POST requests.
  • Source: CommentStreams
  • License: MIT

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]