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)
  • Questo modulo è interno o instabile e non dovresti usarlo. Il suo funzionamento potrebbe variare senza preavviso.
  • Questo modulo richiede i diritti di lettura.
  • Questo modulo richiede i diritti di scrittura.
  • Questo modulo accetta solo richieste POST.
  • Fonte: ContentTranslation
  • Licenza: GPL-2.0-or-later

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

Parametri specifici:
Sono disponibili altri parametri generali.
from

Il codice della lingua di origine.

Questo parametro è obbligatorio.
to

Il codice della lingua di destinazione.

Questo parametro è obbligatorio.
sourcetitle

Il titolo della pagina di origine.

Questo parametro è obbligatorio.
title

Il titolo della pagina su cui eseguire le azioni.

Questo parametro è obbligatorio.
content

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

Questo parametro è obbligatorio.
sourcerevision

La revisione della pagina di origine.

Questo parametro è obbligatorio.
Type: integer
progress

Informazione sulla completezza della traduzione (progresso). JSON con le chiavi any, human, mt e mtSectionsCount. Il valori delle chiavi sono percentuali.

Questo parametro è obbligatorio.
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

Un token "csrf" recuperato da action=query&meta=tokens

Questo parametro è obbligatorio.