MediaWiki API ヘルプ

このページは自動生成された MediaWiki API の説明文書ページです。

説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=commentvote

(main | commentvote)
  • このモジュールは読み取りの権限を必要とします。
  • このモジュールは書き込みの権限を必要とします。
  • このモジュールは POST リクエストのみを受け付けます。
  • ソース: Comments
  • ライセンス: GPL-2.0-or-later

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

パラメーター:
commentID

Comment ID of the comment that is voted for

この変数は必須です。
型: 整数
voteValue

Vote value for the comment

この変数は必須です。
型: 整数
token

action=query&meta=tokens から取得した「csrf」トークン

この変数は必須です。