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, 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.
  • Font : ContentTranslation
  • Licéncia : GPL-2.0-or-later

Save the draft section translation and store the parallel corpora

Paramètres :
Other general parameters are available.
sourcelanguage

The source language code.

Cal aquest paràmetre.
targetlanguage

The target language code.

Cal aquest paràmetre.
sourcetitle

The title of the source page.

Cal aquest paràmetre.
targettitle

The title of the target page.

Cal aquest paràmetre.
content

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

Cal aquest paràmetre.
sourcerevision

The source page revision id.

Cal aquest paràmetre.
Tipus: enter
sourcesectiontitle

The title of the source section.

Cal aquest paràmetre.
targetsectiontitle

The title of the target section.

Cal aquest paràmetre.
sectionid

The page section id.

Cal aquest paràmetre.
issandbox

Use a sandbox title for translation.

Type: boolean (details)
progress

The progress of the translation.

Cal aquest paràmetre.
token

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

Cal aquest paràmetre.