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, 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.
  • Source: VisualEditor
  • License: MIT

MediaWiki üçün HTML5 səhifəsi (Parsoid xidməti vasitəsilə vikimətnə çevrildi) yadda saxlayın.

Specific parameters:
Other general parameters are available.
paction

İcra ediləcək fəaliyyət.

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

Fəaliyyətlər icra ediləcək səhifə.

This parameter is required.
token

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

This parameter is required.
wikitext

İcra ediləcək vikimətn.

section

İcra ediləcək bölmə.

sectiontitle

Yeni bölmə üçün başlıq.

basetimestamp

Yadda saxlayarkən bunu redaktə edilən versiyanın tarixi olaraq təyin edin. Redaktə toqquşmalarını görmək üçün istifadə edilir.

Type: timestamp (allowed formats)
starttimestamp

Yadda saxlayarkən bunu səhifənin yükləndiyi tarix olaraq təyin edin. Redaktə toqquşmalarını görmək üçün istifadə edilir.

Type: timestamp (allowed formats)
oldid

İstifadə ediləcək versiya nömrəsi. Son versiya defoltdur.

Type: integer
minor

Kiçik redaktə olaraq işarələ

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

Vikimətnə çevirmək üçün Parsoidə göndəriləcək HTML

etag

Göndərmək üçün ETag.

summary

Dəyişikliklərin izahı.

captchaid

Captcha nömrəsi (captcha cavabı ilə yadda saxlayarkən).

captchaword

Captcha-ya cavab (captcha cavabı ilə yadda saxlayarkən).

cachekey

Bu açarla əvvəlki serializeforcache sorğusunun nəticəsini istifadə edin. html yenidən yazır.

nocontent

Cavabda yeni versiyanın HTML məzmununu buraxın.

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.

Type: page title
Accepts non-existent pages.
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.

Default: (empty)
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.

Default: (empty)
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, contenttranslation, fallback, minerva, modern, monobook, timeless, vector, vector-2022
tags

Düzəlişə tətbiq etmək üçün etiketləri dəyişdirin.

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

API sorğusu ilə əlaqəli plaginlər.

ge-task-link-recommendation
Use when saving a GrowthExperiments "Add a link" structured edit.
Separate values with | or alternative.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
data-{plugin}

API sorğusu ilə bir plugin tərəfindən göndərilən ixtiyari məlumatlar.

For the ge-task-link-recommendation plugin

A JSON string of an object with these keys:

  • acceptedTargets: (optional) Array with the titles of pages, the recommended link to which was accepted by the user.
  • rejectedTargets: (optional) Array with the titles of pages, the recommended link to which was rejected by the user.
  • skippedTargets: (optional) Array with the titles of pages, the recommended link to which was skipped (ignored) by the user.
This is a templated parameter. When making the request, {plugin} in the parameter's name should be replaced with values of plugins.
mobileformat

Return parse output in a format suitable for mobile devices.

Type: boolean (details)