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. 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

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

Specific parameters:
Other general parameters are available.
from

Ο κωδικός της γλώσσας πηγής.

This parameter is required.
to

Ο κωδικός της γλώσσας στόχου.

This parameter is required.
sourcetitle

Ο τίτλος της σελίδας πηγής.

This parameter is required.
title

Ο τίτλος της σελίδας για να εκτελέσετε ενέργειες.

This parameter is required.
content

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

This parameter is required.
sourcerevision

Η αναθεώρηση της σελίδας πηγής.

This parameter is required.
Type: integer
progress

Πληροφορίες σχετικά με την ολοκλήρωση της μετάφρασης (πρόοδο). JSON με τα κλειδιά του κάθε, ανθρώπου, mt και mtSectionsCount. Οι τιμές κλειδιά είναι ποσοστά.

This parameter is required.
cxversion

Version of the editor used to create the draft translation.

Type: integer
The value must be between 1 and 2.
sourcecategories

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

Cannot be longer than 65.535 bytes.
targetcategories

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

Cannot be longer than 65.535 bytes.
token

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

This parameter is required.