MediaWiki API ヘルプ

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

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

action=visualeditor

(main | visualeditor)
  • このモジュールは内部的または不安定です。動作が予告なく変更される場合があります。
  • このモジュールは読み取りの権限を必要とします。
  • Source: VisualEditor
  • License: MIT

Returns HTML5 for a page from the Parsoid service.

パラメーター:
page

操作を実行したいページ

このパラメーターは必須です。
format

The format of the output.

値 (次の値のいずれか1つ): jsonjsonfm
既定値: jsonfm
paction

実行したい操作

このパラメーターは必須です。
値 (次の値のいずれか1つ): parsemetadatawikitextparsefragmentgetlanglinks
wikitext

HTMLに変換するため、Parsoidに送るウィキテキスト (paction=parsefragment)

section

The section on which to act.

oldid

使用する版番号 (既定では最新版)

editintro

Edit intro to add to notices.

pst

Parsoid に送る前にwikitextをあらかじめ変換して保存する (paction=parsefragment)

Type: boolean (details)
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.