MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=visualeditor

(main | visualeditor)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • Source: VisualEditor
  • License: MIT

Returns HTML5 for a page from the Parsoid service.

Parameters:
page

Halaman di mana tindakan akan dilakukan.

This parameter is required.
format

The format of the output.

One of the following values: json, jsonfm
Default: jsonfm
paction

Tindakan untuk dilakukan.

This parameter is required.
One of the following values: parse, metadata, wikitext, parsefragment, getlanglinks
wikitext

Teks wiki untuk mengirim ke Parsoid untuk mengkonversi menjadi HTML (paction=parsefragment).

section

The section on which to act.

oldid

Nomor revisi yang diinginkan (secara baku: versi terkini).

editintro

Edit intro to add to notices.

pst

Pra-simpan mengubah teks wiki sebelum mengirimkannya ke Parsoid (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.