Помоћ око Медијавикијевог API-ја

Ово је аутоматски генерисана документација за Медијавики API

Документација и примери: -{R|https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page}-

action=searchtranslations

(main | searchtranslations)
  • This module requires read rights.
  • Извор: Превођење
  • Лиценца: GPL-2.0-or-later

Search translations.

Специфични параметри:
Other general parameters are available.
service

Which of the available translation services to use.

One of the following values:
query

The string to search for.

This parameter is required.
sourcelanguage

The language code of the source text.

Default: sr
language

The language code to search string for.

Подразумевано: (нема)
group

The group ID to search string in.

Подразумевано: (нема)
filter

Message translation status filter.

One of the following values: Can be empty, or fuzzy, translated, untranslated
Подразумевано: (нема)
match

Match any/all search words.

Подразумевано: (нема)
case

Case (in)sensitive search.

Default: 0
offset

Offset for the translations.

Type: integer
Default: 0
limit

Size of the result.

Type: integer or max
The value must be between 1 and 50.
Default: 25
Примери:
Show translations for the language.
api.php?action=searchtranslations&language=fr&query=aide [open in sandbox]
Show untranslated messages matching the query in the source language.
api.php?action=searchtranslations&language=fr&query=edit&filter=untranslated [open in sandbox]