Pomoć oko Medijavikijevog API-ja

Ovo je automatski generisana dokumentacija za Medijaviki API

Dokumentacija i primeri: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=visualeditoredit

(main | visualeditoredit)
  • This module is internal or unstable, and you should not use it. Its operation may change without notice.
  • This module requires read rights.
  • This module requires write rights.
  • This module only accepts POST requests.
  • Izvor: VisualEditor
  • Licenca: MIT

Snimite HTML5-stranicu u MediaWiki (pretvara se u wikitekst preko servisa Parsoid).

Parametri:
Other general parameters are available.
paction

Akcija za izvesti.

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

Stranica na kojoj se izvode akcije.

This parameter is required.
token

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

This parameter is required.
wikitext

Sa kojim wikitekstom treba djelovati.

section

Na kome podnaslovu treba djelovati.

sectiontitle

Naziv na novi podnaslov

basetimestamp

Kada snimate, postavite ovo za vremenski pečat revizije koja je bila uređena. Koristi se za otkrivanje sukoba uređivanja.

Type: timestamp (allowed formats)
starttimestamp

Kada snimate, postavite ovo za vremenski pečat trenutka kada je revizija učitana. Koristi se za otkrivanje sukoba uređivanja.

Type: timestamp (allowed formats)
oldid

Broj izmjena za korištenje. Zadano za posljednju izmjenu.

Type: integer
minor

Označite kao manje uređivanje.

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 poslan Parsoidu u zamjenu za wikitest.

etag

ETag za slanje.

summary

Sažetak izmjene

captchaid

Captcha ID (za snimanje uz captcha odgovor).

captchaword

Odgovorite captchi (za snimanje sa captcha odgovorom).

cachekey

Koristite rezultat prethodnog serializeforcache zahtjeva sa ovim ključem. Premošćuje html.

nocontent

Omit the HTML content of the new revision in the response.

Type: boolean (details)
returnto

Page title. If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to the given page, instead of the page that was edited.

Tip: naslov stranice
Prihvata nepostojeće stranice.
returntoquery

URL query parameters (with leading ?). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given query parameters.

Podrazumevano: (nema)
returntoanchor

URL fragment (with leading #). If saving the edit created a temporary account, the API may respond with an URL that the client should visit to complete logging in. If this parameter is provided, the URL will redirect to a page with the given fragment.

Podrazumevano: (nema)
useskin

Apply the selected skin to the parser output. May affect the following properties: text, langlinks, headitems, modules, jsconfigvars, indicators.

One of the following values: apioutput, cologneblue, fallback, minerva, modern, monobook, timeless, vector, vector-2022
tags

Oznake promjena primjenjlive na izmjenu.

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

Dodaci povezani s ovim priložničkim zahtjevom.

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

Proizvoljni podaci koje šalje dodatak s priložničkim zahtjevom.

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

Daj izlaz analize u formatu prikladnom za mobilne uređaje.

Type: boolean (details)