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

(main | markfortranslation)
  • Este módulo requiere permisos de lectura.
  • Este módulo requiere permisos de escritura.
  • Este módulo solo acepta solicitudes POST.
  • Fuente: Traducir
  • Licencia: GPL-2.0-or-later

Mark a page for translation

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

The title of the page to act on. Either title or pageid must be set.

pageid

The page ID of the page to act on. Either title or pageid must be set.

Tipo: entero
revid

Assert that the current version of the page has this revision ID before continuing. If the page has been updated, exit with an error.

Tipo: entero
translatetitle

If yes, allow translation of the display title. If no, do not allow translation. If absent, allow translation unless the page previously disallowed translation, or if the page is a template.

Uno de los siguientes valores: no, yes
prioritylanguages

A list of priority language codes. If this is absent, any previously set value will be retained.

Separar los valores con | o con una alternativa.
El número máximo de valores es 1000.
forcepriority

This parameter is ignored unless the prioritylanguages parameter is present. If true, prevent translations to languages other than the priority languages.

Tipo: boolean (más información)
priorityreason

This parameter is ignored unless the prioritylanguages parameter is present. A string giving the reason for priority translation.

nofuzzyunits

A list of translation unit IDs which should not be fuzzied. This will be merged with the default list, in which any units with only tvar changes will not be fuzzied.

Separar los valores con | o con una alternativa.
El número máximo de valores es 1000.
fuzzyunits

A list of translation unit IDs which should be fuzzied. This is only useful to override the default and allows fuzzying even units with only tvar changes.

Separar los valores con | o con una alternativa.
El número máximo de valores es 1000.
forcelatestsyntaxversion

If false, do not use latest syntax version for this page. If absent, latest syntax version is used.

Tipo: boolean (más información)
transclusion

If yes or absent, enable translation aware transclusion for this page. If no, disable transclusion.

Uno de los siguientes valores: no, yes
token

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

Este parámetro es obligatorio.