MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=commentsubmit

(main | commentsubmit)
  • 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 commentsubmit API allows to submit/post a comment after filling out the following parameters: pageID, parentID, commentText.

Parameters:
pageID

Page ID of the page on which comment is to be submitted

This parameter is required.
Type: integer
parentID

Comment ID of the parent comment

Type: integer
commentText

Comment Text

This parameter is required.
token

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

This parameter is required.