MediaWiki API ヘルプ

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

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

action=commentedit

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

The commentedit API allows one to edit a previously existing comment, with the following parameters: pageID, commentId, commentText

パラメーター:
その他一般パラメーターが利用可能です。
pageID

Page ID of the page on which comment is to be edited

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

Comment ID of the comment to be edited

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

New comment text

この変数は必須です。
token

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

この変数は必須です。