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.
  • Source: VisualEditor
  • License: MIT

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

Parameters:
paction

Acțiunea de efectuat.

This parameter is required.
One of the following values: diff, save, serialize, serializeforcache
page

Pagina asupra căreia să se efectueze acțiunile.

This parameter is required.
token

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

This parameter is required.
wikitext

The wikitext to act with.

section

The section on which to act.

sectiontitle

Titlul pentru secțiunea nouă.

basetimestamp

Cand salvați, setați timestampul revisie care a fost editată. Folosit ca să detecteze conflicturi de editare.

starttimestamp

Cand salvați, setați timestampul pentru revisia care a fost editată. Folosit ca să detecteze conflicturi de editare.

oldid

Numărul versiunii de utilizat. Implicit la cea mai recentă versiune. Utilizați 0 pentru o pagină nouă.

minor

Semnalizare pentru modificare minoră.

watchlist

Unconditionally add or remove the page from the current user's watchlist, use preferences (ignored for bot users) or do not change watch.

html

HTML pentru a trimite în Parsoid pentru a converti în wiki-text.

etag

ETag de trimis.

summary

Descrierea modificării.

captchaid

ID captcha (menținând în același timp cu răspunsul captcha).

captchaword

Răspunsul la captcha (cand se salvează răspuns captcha)

cachekey

Pentru serializarea sau de a vedea diferențele, folosiți rezultatul anterior solicitării serializeforcache cu această cheie. Neglijează 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).
plugins

Plugins associated with the API request.

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

Arbitrary data sent by a plugin with the API request.

This is a templated parameter. When making the request, {plugin} in the parameter's name should be replaced with values of plugins.