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=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.
  • Source: ContentTranslation
  • License: GPL-2.0-or-later

Save the draft section translation and store the parallel corpora

Specific parameters:
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

The source page revision 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.