MediaWiki API ajuda

Esta es una pàgina de documentació autogenerada de l'API de MediaWiki.

Documentació i eixemples: https://www.mediawiki.org/wiki/API

action=visualeditor

(main | visualeditor)
  • Este mòdul es intern o inestable. EL seu funcionament pot canviar sense previ avís.
  • Este mòdul requerix permissos de llectura.
  • Font: VisualEditor
  • Llicència: MIT

Proveïx el còdic HTML5 d'una pàgina per mig del servici Parsoid.

Paràmetros:
page

La pàgina per a realisar accions.

Este paràmetro és obligatori.
badetag

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

format

El format de l'eixida.

U dels següents valors: json, jsonfm
Predeterminat: jsonfm
paction

Acció que realisar.

Este paràmetro és obligatori.
U dels següents valors: metadata, parse, parsedoc, parsefragment, templatesused, wikitext
wikitext

Wikitexto para enviar a Parsoid y convertir en HTML (paction=parsefragment).

section

La secció a on actuar.

stash

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

oldid

El número de revisió a usar (per defecte la revisió més recent).

editintro

Editar l'intro per a afegir als avisos

pst

Pre-guardar transforma el wikitexto antes de enviarlo a Parsoid (paction=parsefragment).

Tipo: boolean (detalls)
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.

Separar els valors en |.
Maximum number of values is 50 (500 for clients allowed higher limits).