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)
  • Questo modulo è interno o instabile. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Fonte: VisualEditor
  • Licenza: MIT

Returns HTML5 for a page from the Parsoid service.

Parametri specifici:
Sono disponibili altri parametri generali.
page

La pagina su cui eseguire l'azione.

This parameter is required.
badetag

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

format

The format of the output.

Uno dei seguenti valori: json, jsonfm
Default: jsonfm
paction

Azione da eseguire.

This parameter is required.
Uno dei seguenti valori: metadata, parse, parsedoc, parsefragment, templatesused, wikitext
wikitext

Wikitesto da inviare al Parsoid per essere convertito in HTML (paction=parsefragment).

section

La sezione su cui agire.

stash

When saving, set this true if you want to use the stashing API.

Tipo: booleano (dettagli)
oldid

Il numero della versione da utilizzare (predefinita l'ultima versione).

editintro

Edit intro to add to notices.

pst

Salva il testo da trasformare in wikitesto prima di inviarlo al Parsoid (paction=parsefragment).

Tipo: booleano (dettagli)
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.

Separa i valori con | o alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).