Помоћ око Медијавикијевог API-ја

Ово је аутоматски генерисана документација за Медијавики API

Документација и примери: -{R|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.
  • Извор: VisualEditor
  • Лиценца: MIT

Чување странице која је у HTML5 формату на Медијавики (конвертоване у викитекст помоћу услуге Parsoid).

Специфични параметри:
Other general parameters are available.
paction

Радња за извршавање.

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

Страница на коју треба извршити радње.

This parameter is required.
token

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

This parameter is required.
wikitext

Викитекст са којим треба деловати.

section

Одељак на коме треба деловати.

sectiontitle

Наслов за нови одељак.

basetimestamp

Када чувате, поставите ово на временску ознаку измене која је била уређена. Користи се за откривање сукоба измена.

Type: timestamp (allowed formats)
starttimestamp

Када чувате, поставите ово на временску ознаку тренутка када је измена учитана. Користи се за откривање сукоба измена.

Type: timestamp (allowed formats)
oldid

Број измене коју треба користити. Подразумевана је последња измена.

Type: integer
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 за слање Парсоиду у замену за викитекст.

etag

ETag за слање.

summary

Опис измене.

captchaid

ID CAPTCHA слике (када чувате са одговором).

captchaword

Одговор на CAPTCHA слику (када чувате са одговором).

cachekey

Користите резултат претходног захтева за serializeforcache са овим кључем. Замењује 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

Ознаке промена које би се примењивале на измену.

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.