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

list=contenttranslation

(main | query | contenttranslation)
  • This module requires read rights.
  • Source: ContentTranslation
  • License: GPL-2.0-or-later

Baza e të dhënave për Përkthimin e Përmbajtjes së pyetësorit për përkthimet.

Specific parameters:
Other general parameters are available.
translationid

ID e përkthimit.

from

Kodi i burimit të gjuhës.

to

Kodi i gjuhës së synuar.

sourcetitle

Titulli i faqes burimore.

sourcesectiontitle

The title of the source section (optional).

limit

Numri maksimal i përkthimeve për të marrë.

Type: integer or max
The value must be between 1 and 500.
Default: 100
offset

Zhvendosja në grupin e rezultateve (opsionale).

type

Gjendja e përkthimit.

One of the following values: draft, published
Default: draft
usecase

The usecase for which the translations are being fetched (optional).

One of the following values: desktop-editor-draft, translation-corpora-units, unified-dashboard
Examples:
Merri përkthimet e filluara nga përdoruesi aktual.
api.php?action=query&list=contenttranslation [open in sandbox]
Merri përkthimet draft prej ID.
api.php?action=query&list=contenttranslation&translationid=94 [open in sandbox]
Gjeni ndonjë përkthim për titullin e dhënë midis palës së dhënë gjuhësore
api.php?action=query&list=contenttranslation&from=en&to=es&sourcetitle=Hibiscus [open in sandbox]