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=visualeditoredit

(main | visualeditoredit)
  • This module is internal or unstable. Its operation may change without notice.
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Font : VisualEditor
  • Licéncia : MIT

Save an HTML5 page to MediaWiki (converted to wikitext via the Parsoid service).

Paramètres :
paction

Action to perform.

Aqueste paramètre es obligatòri.
One of the following values: diff, save, serialize, serializeforcache
page

Pàgina per a realitzar accions

Aqueste paramètre es obligatòri.
token

A "csrf" token retrieved from action=query&meta=tokens

Aqueste paramètre es obligatòri.
wikitext

The wikitext to act with.

section

The section on which to act.

sectiontitle

Title for new section.

basetimestamp

En desar-ho, s'estableix la data i hora de la revisió que s'ha editat. S'utilitza per detectar conflictes d'edició.

starttimestamp

En desar-ho, s'estableix la data i hora de la revisió que s'ha editat. S'utilitza per detectar conflictes d'edició.

oldid

El número de revisió d'utilitzar. Valors per defecte a la darrera revisió. Utilitzar 0 per a una nova pàgina.

minor

Marca com a edició menor

watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences or do not change watch.

html

HTML per enviar al Parsoid a canvi de wikitext.

etag

ETag a enviar.

summary

Resum d'edició

captchaid

ID del captcha (en desar amb una resposta de captcha),

captchaword

Resposta al captcha (en desar amb una resposta de captcha).

cachekey

Utilitzar el resultat d'una anterior serializeforcache petició amb aquesta clau. Anul·la html.

tags

Change tags to apply to the edit.

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