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=cseditcomment

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

Edit an existing comment. Either pageid or title must be provided.

Parameters:
pageid

page ID of the page which holds the comment to edit

Type: integer
title

title of the page which holds the comment to edit

commenttitle

title for comment.

This parameter is required.
wikitext

wikitext for comment.

This parameter is required.
token

A "csrf" token retrieved from action=query&meta=tokens

This parameter is required.
Examples:
edit comment with page ID 3
api.php?action=cseditcomment&pageid=3 [open in sandbox]
edit comment with page title CommentStreams:3
api.php?action=cseditcomment&title=CommentStreams:3 [open in sandbox]