Ayuda de la API de MediaWiki

Esta es una página de documentación autogenerada de la API de MediaWiki.

Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=sxsave

(main | sxsave)
  • Este módulo es interno o inestable y no debes usarlo. Su funcionamiento puede cambiar sin previo aviso.
  • Este módulo requiere permisos de lectura.
  • Este módulo requiere permisos de escritura.
  • Este módulo solo acepta solicitudes POST.
  • Fuente: ContentTranslation
  • Licencia: GPL-2.0-or-later

Save the draft section translation and store the parallel corpora

Parámetros específicos:
Other general parameters are available.
sourcelanguage

The source language code.

Este parámetro es obligatorio.
targetlanguage

The target language code.

Este parámetro es obligatorio.
sourcetitle

The title of the source page.

Este parámetro es obligatorio.
targettitle

The title of the target page.

Este parámetro es obligatorio.
content

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

Este parámetro es obligatorio.
sourcerevision

The source page revision id.

Este parámetro es obligatorio.
Tipo: entero
sourcesectiontitle

The title of the source section.

Este parámetro es obligatorio.
targetsectiontitle

The title of the target section.

Este parámetro es obligatorio.
sectionid

The page section id.

Este parámetro es obligatorio.
issandbox

Use a sandbox title for translation.

Type: boolean (details)
progress

The progress of the translation.

Este parámetro es obligatorio.
token

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

Este parámetro es obligatorio.