MedijaViki API pagalba
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=contenttranslation
- This module requires read rights.
- Šaltinis: ContentTranslation
- Licencija: GPL-2.0-or-later
Query Content Translation database for translations.
Konkretūs parametrai:
Other general parameters are available.
- translationid
Vertimo ID.
- from
Šaltinio kalbos kodas.
- to
Kalbos, į kurią verčiama, kodas.
- sourcetitle
Šaltinio puslapio pavadinimas.
- sourcesectiontitle
The title of the source section (optional).
- limit
Maksimalus vertimų skaičius, kurį grąžinti.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 100
- offset
Offset into result set (optional).
- type
Vertimo būsena.
- 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
Pavyzdžiai:
- Gauti vertimus, pradėtus šito vartotojo.
- api.php?action=query&list=contenttranslation [open in sandbox]
- Gauti vertimų juodraščius pagal ID.
- api.php?action=query&list=contenttranslation&translationid=94 [open in sandbox]
- Rasti pateiktai antraštei bet kokį vertimą iš pateiktų kalbų porų
- api.php?action=query&list=contenttranslation&from=en&to=es&sourcetitle=Hibiscus [open in sandbox]