MediaWiki API hulp
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)
- Voor deze module zijn leesrechten nodig.
- This module only accepts POST requests.
- Bron: CommentStreams
- Licentie: MIT
Vote (up, down, or neutral) on a comment.
Parameters:
- 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.
Voorbeelden:
- vote on comment with page ID 3
- api.php?action=csvote&pageid=3&vote=1 [open in de zandbak]
- vote on comment with page title CommentStreams:3
- api.php?action=csvote&title=CommentStreams:3&vote=-1 [open in de zandbak]