MediaWiki-API-hjelp

Dette er en automatisk generert MediaWiki-API-dokumentasjonsside.

Dokumentasjon og eksempler: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

action=markfortranslation

(main | markfortranslation)
  • Denne modulen krever lesetilgang.
  • Denne modulen krever skrivetilgang.
  • Denne modulen aksepterer bare POST forespørsler.
  • Kilde: Translate
  • Lisens: GPL-2.0-or-later

Merk ei side for oversettelse

Spesifikke parametre:
Andre generelle parametre er tilgjengelige.
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.

Type: heltall
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.

Type: heltall
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.

Én av følgende verdier: no, yes
prioritylanguages

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

Separer verdier med | eller alternativ.
Maksimalt antall verdier er 1 000.
forcepriority

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

Type: boolsk (detaljer)
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.

Separer verdier med | eller alternativ.
Maksimalt antall verdier er 1 000.
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.

Separer verdier med | eller alternativ.
Maksimalt antall verdier er 1 000.
forcelatestsyntaxversion

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

Type: boolsk (detaljer)
transclusion

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

Én av følgende verdier: no, yes
token

En «csrf»-nøkkel hentet fra action=query&meta=tokens

Denne parameteren er påkrevd.