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