MediaWiki API ヘルプ

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

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

action=discussiontoolsedit

(main | discussiontoolsedit)
  • このモジュールは内部的または不安定です。動作が予告なく変更される場合があります。
  • このモジュールは読み取りの権限を必要とします。
  • このモジュールは書き込みの権限を必要とします。
  • このモジュールは POST リクエストのみを受け付けます。
  • ソース: 議論ツール
  • ライセンス: MIT

議論ページにメッセージを投稿する。

パラメーター:
Other general parameters are available.
paction

Action to perform.

addcomment
既存のコメントへの返信として新しいコメントを追加します。
addtopic
新しい議論のセクションを追加し、そのセクションに最初のコメントを追加します。
この変数は必須です。
値 (次の値のいずれか1つ): addcomment、addtopic
page

操作を実行したいページ

この変数は必須です。
token

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

この変数は必須です。
formtoken

オプションのユニークID。二重投稿を防ぐためにクライアントで生成されます。

16を超える文字数は無効です。
commentname

Name of the comment to reply to. Only used when paction is addcomment.

commentid

返信するコメントのID。paction が addcomment の場合にのみ使用されます。commentnameよりも優先されます。

wikitext

ウィキテキストとして投稿するコンテンツ。htmlと同時に使用することはできません。

html

Content to post, as HTML. Cannot be used together with wikitext.

summary

編集の要約

sectiontitle

$1section=newを使っているときの新しい節の名前です。 pactionがaddtopicのときのみ使用されます。

useskin

Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.

値 (次の値のいずれか1つ): apioutput、fallback、minerva、monobook、timeless、vector、vector-2022
watchlist

無条件に現在の利用者のウォッチリストに追加または除去するか、個人設定を利用(ボット利用者に対しては無視されます)するかウォッチを変更しないか。

captchaid

Captcha ID (captcha response で保存する場合)。

captchaword

(captchaで保存するときの) captchaに対する回答

mobileformat

Return parse output in a format suitable for mobile devices.

型: 真偽値 (詳細)