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=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.
Specific parameters:
Other general parameters are available.
- 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.