MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-
action=stashedit
(main | stashedit)
- このモジュールは内部的または不安定です。動作が予告なく変更される場合があります。
- このモジュールは読み取りの権限を必要とします。
- このモジュールは書き込みの権限を必要とします。
- このモジュールは POST リクエストのみを受け付けます。
- ソース: MediaWiki
- ライセンス: GPL-2.0-or-later
Prepare an edit in shared cache.
This is intended to be used via AJAX from the edit form to improve the performance of the page save.
パラメーター:
Other general parameters are available.
- title
編集されているページのページ名。
- この変数は必須です。
- section
節識別子です。先頭の節の場合は 0、新しい節の場合は newを指定します。
- sectiontitle
新しい節の名前です。
- text
ページの本文。
- stashedtexthash
Page content hash from a prior stash to use instead.
- summary
Change summary.
- 既定値: (空)
- contentmodel
新しいコンテンツのコンテンツモデル。
- この変数は必須です。
- 値 (次の値のいずれか1つ): GadgetDefinition, Scribunto, css, javascript, json, sanitized-css, text, unknown, wikitext
- contentformat
Content serialization format used for the input text.
- この変数は必須です。
- 値 (次の値のいずれか1つ): application/json, application/octet-stream, application/unknown, application/x-binary, text/css, text/javascript, text/plain, text/unknown, text/x-wiki, unknown/unknown
- baserevid
Revision ID of the base revision.
- この変数は必須です。
- 型: 整数
- token
action=query&meta=tokens から取得した「csrf」トークン
- この変数は必須です。