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

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

Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-

action=sxsave

(main | sxsave)
  • 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.
  • Извор: ContentTranslation
  • Лиценца: GPL-2.0-or-later

Save the draft section translation and store the parallel corpora

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

The source language code.

This parameter is required.
targetlanguage

The target language code.

This parameter is required.
sourcetitle

The title of the source page.

This parameter is required.
targettitle

The title of the target page.

This parameter is required.
content

JSON-encoded section data. Each section is an object and has the following keys: content, sectionId, origin, validate

This parameter is required.
sourcerevision

ID измене изворне странице

This parameter is required.
Type: integer
sourcesectiontitle

The title of the source section.

This parameter is required.
targetsectiontitle

The title of the target section.

This parameter is required.
sectionid

The page section id.

This parameter is required.
issandbox
⧼apihelp-sxsave-param-issandbox⧽
Type: boolean (details)
isleadsection
⧼apihelp-sxsave-param-isleadsection⧽
Type: boolean (details)
token

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

This parameter is required.