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

If RESTBase query returned a seemingly invalid ETag, pass it here for logging purposes.

format

The format of the output.

値 (次の値のいずれか1つ): json、jsonfm
Default: jsonfm
paction

実行したい操作

このパラメーターは必須です。
値 (次の値のいずれか1つ): metadata、parse、parsedoc、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

Edit intro to add to notices.

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)です。