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

Radnja koju treba izvršiti.

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

Stranica na koju treba izvršiti radnje.

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

Title for new section.

basetimestamp

Postavite ovo na vremensku oznaku verzije koja je uređivana prilikom čuvanja. Koristi se da bi se otkrili sukobi u izmjenama.

starttimestamp

Postavite ovo na vremensku oznaku verzije koja je učitana prilikom čuvanja. Koristi se da bi se otkrili sukobi u izmjenama.

oldid

Broj verzije koji treba koristiti. Predodređeno je da se koristi najnovija verzija. Koristite 0 za novu stranicu.

minor

Označi kao manju izmjenu.

watchlist

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

html

HTML kôd za slanje Parsoidu za wikitekst.

etag

ETag za slanje.

summary

Sažetak.

captchaid

Captcha ID (kada čuvate sa captcha odgovorom).

captchaword

Odgovor na captchu (kada sačuvate sa captcha odgovorom).

cachekey

Koristite rezultat prethodnog zahtjeva za serializeforcache s ovim ključem. Nadjačava 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).