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=csvote
(main | csvote)
- This module requires read rights.
- This module only accepts POST requests.
- Source: CommentStreams
- Licence: MIT
Vote (up, down, or neutral) on a comment.
Specific parameters:
Other general parameters are available.
- pageid
- page ID of the page which holds the comment to be voted on 
- Type: integer
- title
- title of the page which holds the comment to be voted on 
- vote
- vote (1, -1, or 0). 
- This parameter is required.
- Type: integer
- token
- A "csrf" token retrieved from action=query&meta=tokens 
- This parameter is required.
Examples:
- vote on comment with page ID 3
- api.php?action=csvote&pageid=3 [open in sandbox]
- vote on comment with page title CommentStreams:3
- api.php?action=csvote&title=CommentStreams:3 [open in sandbox]