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=cxsave

(main | cxsave)
  • 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

This module allows to save draft translations by section to save bandwidth and to collect parallel corpora.

Paramètres :
Other general parameters are available.
from

Lo còdi de lenga font.

Cal aquest paràmetre.
to

The target language code.

Cal aquest paràmetre.
sourcetitle

The title of the source page.

Cal aquest paràmetre.
title

The title of the page to perform actions on.

Cal aquest paràmetre.
content

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

Cal aquest paràmetre.
sourcerevision

Edició de la pàgina origen.

Cal aquest paràmetre.
Tipus: enter
progress

Information about translation completion (progress). JSON with the keys any, human, mt and mtSectionsCount. The keys' values are percentages.

Cal aquest paràmetre.
cxversion

Version of the editor used to create the draft translation.

Tipus: enter
The value must be between 1 and 2.
sourcecategories

JSON encoded array of source categories to be saved with draft translation.

No pot tenir més de 65.535 bytes.
targetcategories

JSON encoded array of target categories to be saved with draft translation.

No pot tenir més de 65.535 bytes.
token

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

Cal aquest paràmetre.