MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=searchtranslations
(main | searchtranslations)
- Questo modulo richiede i diritti di lettura.
- Fonte: Traduci
- Licenza: GPL-2.0-or-later
Cerca traduzioni.
Parametri:
- service
Which of the available translation services to use.
- Uno dei seguenti valori:
- query
The string to search for.
- Questo parametro è obbligatorio.
- sourcelanguage
The language code of the source text.
- Predefinito: it
- language
The language code to search string for.
- Predefinito: (vuoto)
- group
The group ID to search string in.
- Predefinito: (vuoto)
- filter
Message translation status filter.
- Uno dei seguenti valori: Può essere vuoto, o translated, fuzzy, untranslated
- Predefinito: (vuoto)
- match
Match any/all search words.
- Predefinito: (vuoto)
- case
Case (in)sensitive search.
- Predefinito: 0
- offset
Offset for the translations.
- Tipo: intero
- Predefinito: 0
- limit
Dimensione del risultato.
- Non più di 50 (500 per bot) consentito.
- Tipo: intero o max
- Predefinito: 25
Esempi:
- Mostra le traduzioni per la lingua.
- api.php?action=searchtranslations&language=fr&query=aide [apri in una sandbox]
- Show untranslated messages matching the query in the source language.
- api.php?action=searchtranslations&language=fr&query=edit&filter=untranslated [apri in una sandbox]