MedijaViki API pagalba

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.
  • Šaltinis: VisualEditor
  • Licencija: MIT

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

Parametrai:
Other general parameters are available.
paction

Veiksmas, kurį atlikti.

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

Puslapis kuriam bus atliekami veiksmai.

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

Vieta, kurioje veikti.

sectiontitle

Naujo skyriaus pavadinimas.

basetimestamp

Išsaugant nustatykite į koreguoto poversijo laiko žymę. Naudojama redagavimo konfliktų aptikimui.

Type: timestamp (allowed formats)
starttimestamp

Išsaugant nustatykite į laiko žymę, kada puslapis buvo užkrautas. Naudojama pakeitimų konfliktų aptikimui.

Type: timestamp (allowed formats)
oldid

Pataisymo numeris, kurį naudoti. Numatytoji reikšmė - paskutinis pataisymas. Naudoti 0 naujam puslapiui.

Type: integer
minor

Smulkių pakeitimų parinktis.

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, kuris bus konvertuotas į vikitekstą, siunčiant į Parsoid.

etag

ETag, kurį siųsti.

summary

Redaguoti santrauką.

captchaid

Saugos kodo ID (išsaugant su saugos kodo atsaku).

captchaword

Saugos kodo atsakymas (išsaugant su saugos kodo atsaku).

cachekey

Naudoti prieš tai buvusią serializeforcache užklausą su šiuo raktu. Perdengia 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.

Tipas: puslapio pavadinimas
Priima neegzistuojančius puslapius.
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.

Numatytasis: (tuščia)
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.

Numatytasis: (tuščia)
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, fallback, minerva, monobook, timeless, vector, vector-2022
tags

Change tags to apply to the edit.

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

Plugins associated with the API request.

Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are 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.
mobileformat

Grąžinti išanalizuotą išvestį formatu, tinkamu mobiliems įrenginiams.

Type: boolean (details)