MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=visualeditor
(main | visualeditor)
- このモジュールは内部的または不安定です。動作が予告なく変更される場合があります。
 - このモジュールは読み取りの権限を必要とします。
 - ソース: VisualEditor
 - ライセンス: MIT
 
Returns HTML5 for a page from the Parsoid service.
パラメーター:
その他一般パラメーターが利用可能です。
- page
 操作を実行したいページ
- この変数は必須です。
 - badetag
 RESTBase が返した ETag が間違っている場合と感じたは、ログを残すためここに転記してください。
- format
 出力のフォーマット。
- 値 (次の値のいずれか1つ): json、jsonfm
 - 既定: jsonfm
 - paction
 実行したい操作
- この変数は必須です。
 - 値 (次の値のいずれか1つ): metadata、parse、parsefragment、templatesused、wikitext
 - wikitext
 HTMLに変換するため、Parsoidに送るウィキテキスト (paction=parsefragment)
- section
 The section on which to act.
- stash
 When saving, set this true if you want to use the stashing API.
- 型: 真偽値 (詳細)
 - oldid
 使用する版番号 (既定では最新版)
- 型: 整数
 - editintro
 イントロを編集してお知らせに追加します。
- pst
 Parsoid に送る前にwikitextをあらかじめ変換して保存する (paction=parsefragment)
- 型: 真偽値 (詳細)
 - preload
 The page to use content from if the fetched page has no content yet.
- preloadparams
 Parameters to substitute into the preload page, if present.
- 複数の値は | または代わりの文字で区切ってください。
 - 値の最大値は 50(緩い制限が適用されるクライアントでは500)です。