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.
  • This module requires write rights.
  • Source: VisualEditor
  • Licenza: MIT

Ritorna il codice HTML5 per una pagina del servizio Parsoid.

Parametri:
page

La pagina su cui eseguire l'azione.

Questo parametro è obbligatorio.
format
(nessuna descrizione)
One of the following values: json, jsonfm
Predefinito: jsonfm
paction

Azione da eseguire.

Questo parametro è obbligatorio.
One of the following values: parse, metadata, parsefragment, serialize, serializeforcache, diff, getlanglinks
wikitext

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

oldid

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

html

HTML da inviare a Parsoid per essere convertito in wikitesto.

cachekey

Per serializzare o differenziare, utilizza il sirultato della precedente richiesta serializeforcache con questa chiave. Sovrascrive html.

pst

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

Type: boolean (details)