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

Saglabā HTML5 lapu MediaWiki (pārveidotu vikitekstā ar Parsoid servisu).

Specific parameters:
Other general parameters are available.
paction

Veicamā darbība.

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

Lapa, kurā veikt darbības.

This parameter is required.
token

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

This parameter is required.
wikitext

Vikiteksts, ar ko strādāt.

section

Sadaļa, kurā darboties.

sectiontitle

Jaunās sadaļas nosaukums.

basetimestamp

When saving, set this to the timestamp of the revision that was edited. Used to detect edit conflicts.

Type: timestamp (allowed formats)
starttimestamp

Saglabājot uzstādi šo uz lapas ielādes brīža laika zīmogu. Tiek izmantots, lai noteiktu labošanas konfliktus.

Type: timestamp (allowed formats)
oldid

Izmantojamais versijas numurs. Pēc noklusējuma tik izmantota jaunākā versija. Jaunām lapām jāizmanto 0.

Type: integer
minor

Atzīmēt kā maznozīmīgu labojumu.

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 to send to Parsoid in exchange for wikitext.

etag

Nosūtāmais ETag.

summary

Izmaiņu kopsavilkums.

captchaid

Captcha ID (saglabājot ar captcha atbildi).

captchaword

Atbilde uz captcha (saglabājot ar captcha atbildi).

cachekey

Izmantojiet iepriekšējā serializeforcache pieprasījuma rezultātu ar šo atslēgu. Ignorē html.

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, contenttranslation, fallback, lisa
tags

Izmaini iezīmes, ko pievienot labojumam.

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

Ar šo API pieprasījumu saistītie spraudņi

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.