MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
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.
パラメーター:
- title
 編集されているページのページ名。
- このパラメーターは必須です。
 - section
 節番号です。先頭の節の場合は 0、新しい節の場合は newを指定します。
- sectiontitle
 新しい節の名前です。
- text
 ページの本文。
- stashedtexthash
 Page content hash from a prior stash to use instead.
- summary
 Change summary.
- contentmodel
 新しいコンテンツのコンテンツ・モデル。
- このパラメーターは必須です。
 - 値 (次の値のいずれか1つ): Scribunto、wikitext、javascript、json、css、text
 - contentformat
 Content serialization format used for the input text.
- このパラメーターは必須です。
 - 値 (次の値のいずれか1つ): text/plain、text/x-wiki、text/javascript、application/json、text/css
 - baserevid
 Revision ID of the base revision.
- このパラメーターは必須です。
 - Type: integer
 - token
 action=query&meta=tokens から取得した「csrf」トークン
- このパラメーターは必須です。