MediaWiki API 帮助
这是自动生成的MediaWiki API文档页面。
文档和例子:https://www.mediawiki.org/wiki/API:Main_page/zh
action=commentvote
(main | commentvote)
- 此模块需要读取权限。
- 此模块需要写入权限。
- 此模块只允许POST请求。
- 来源:Comments
- 许可协议:GPL-2.0+
The commentvote API allows to vote on a comment after filling out the following parameters: commentID, voteValue.
参数:
- commentID
已投票评论的评论ID
- 这个参数是必须的。
- 类型:整数
- voteValue
用于评论的投票值
- 这个参数是必须的。
- 类型:整数
- token
从action=query&meta=tokens取回的“csrf”令牌
- 这个参数是必须的。