MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

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

action=visualeditor

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

Liveri HTML5-kodon por paĝo per la servo Parsoid.

Specific parameters:
Other general parameters are available.
page

La paĝo, kiun agoj plenumendas.

This parameter is required.
badetag

Se RESTBase-demando resendis ŝajne nevalidan ETag-on, donu ĝin ĉi tien por registraj celoj.

format

La aranĝo de la eligaĵo.

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

Plenumenda ago.

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

La vikiteksto sendendas al Parsoid por HTMLigado (paction=parsefragment, sintaksanalizago=sintakspeco).

section

La uzota paragrafo.

stash

Dum konservado, ĉu uzi la API-on de kaŝkonservado.

Type: boolean (details)
oldid

La numero de revizio uzenda (defaŭlte uzas la lastan revizion).

editintro

Redakti la enkondukon aldonotan al avizoj.

pst

Prekonserve transformigi vikitekston (Pre-save transform) antaŭ sendi ĝin al Parsoid" (paction=parsefragment, sintaksanalizago=sintakspeco).

Type: boolean (details)
preload

La paĝo, kies enhavo estos uzata, se la akirita paĝo ne jam havas enhavon.

preloadparams

Parametroj anstataŭigontaj en la antaŭŝargitan paĝon, se ĝi ekzistas.

Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).