Pomoć oko Medijavikijevog API-ja
Ovo je automatski generisana dokumentacija za Medijaviki API
Dokumentacija i primeri: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=contenttranslation
- This module requires read rights.
- Izvor: ContentTranslation
- Licenca: GPL-2.0-or-later
Baza prijevoda "Prijevod sadržaja za pretragu" (Query Content Translation).
Specifični parametri:
Other general parameters are available.
- translationid
Naznaka prijevoda.
- from
Kôd izvornog jezika.
- to
Kôd ciljnog jezika.
- sourcetitle
Naslov izvorne stranice.
- sourcesectiontitle
The title of the source section (optional).
- limit
Maksimalni broj rezultata.
- Type: integer or max
- The value must be between 1 and 500.
- Default: 100
- offset
Offset into result set (optional).
- type
Status prijevoda.
- 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
Primjeri:
- Preuzmi prijevode koje je počeo trenutni korisnik.
- api.php?action=query&list=contenttranslation [open in sandbox]
- Preuzmi nacrte po ID-u.
- api.php?action=query&list=contenttranslation&translationid=94 [open in sandbox]
- Pronađi prijevod za dati naslov između datog para jezika
- api.php?action=query&list=contenttranslation&from=en&to=es&sourcetitle=Hibiscus [open in sandbox]