Pomoč za API MediaWiki
To je samodejno ustvarjena dokumentacijska stran za dejanja API-ja MediaWiki.
action=searchtranslations
(main | searchtranslations)
- Ta modul zahteva pravice branja.
- Vir: Prevedi
- Licenca: GPL-2.0-or-later
Išči prevode.
Specifični parametri:
Na voljo so tudi drugi splošni parametri.
- service
Katera od razpoložljivih prevajalskih storitev naj se uporabi.
- Ena od naslednjih vrednosti:
- query
The string to search for.
- Ta parameter je obvezen.
- sourcelanguage
The language code of the source text.
- Privzeto: sl
- language
The language code to search string for.
- Privzeto: (prazno)
- group
ID skupine za iskanje niza. Glejte action=query&meta=messagegroups.
- Privzeto: (prazno)
- filter
Message translation status filter.
- Ena od naslednjih vrednosti: Lahko je prazno ali fuzzy, translated, untranslated
- Privzeto: (prazno)
- match
Match any/all search words.
- Privzeto: (prazno)
- case
Iskanje brez razlikovanja velikih in malih črk.
- Privzeto: 0
- offset
Offset for the translations.
- Vtipkajte: celo število
- Privzeto: 0
- limit
Size of the result.
- Tip: celo število ali max
- Vrednost mora biti med 1 in 50.
- Privzeto: 25
Zgleda:
- Show translations for the language.
- api.php?action=searchtranslations&language=fr&query=aide [odpri v peskovniku]
- Show untranslated messages matching the query in the source language.
- api.php?action=searchtranslations&language=fr&query=edit&filter=untranslated [odpri v peskovniku]