MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=commentvote

(main | commentvote)
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Source: Comments
  • License: GPL-2.0+

The commentvote API allows to vote on a comment after filling out the following parameters: commentID, voteValue.

Parameters:
commentID

Comment ID of the comment that is voted for

This parameter is required.
Type: integer
voteValue

Vote value for the comment

This parameter is required.
Type: integer
token

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

This parameter is required.