Trợ giúp về API MediaWiki

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=searchtranslations

(main | searchtranslations)
  • Mô đun này cần quyền đọc.
  • Source: Biên dịch
  • License: GPL-2.0+

Search translations.

Các tham số:
service

Which of the available translation services to use.

Một giá trị:
Mặc định: TTMServer
query

The string to search for.

Tham số này là bắt buộc.
sourcelanguage

The language code of the source text.

Mặc định: vi
language

The language code to search string for.

Mặc định: (trống)
group

The group ID to search string in.

Mặc định: (trống)
filter

Message translation status filter.

Một giá trị: Cần phải để trống hoặc là translated, fuzzy, untranslated
Mặc định: (trống)
match

Match any/all search words.

Mặc định: (trống)
case

Case (in)sensitive search.

Mặc định: 0
offset

Offset for the translations.

Type: integer
Mặc định: 0
limit

Size of the result.

The value must be between 1 and 50.
Type: integer
Mặc định: 25
Các ví dụ:
Show translations for the language.
api.php?action=searchtranslations&language=fr&query=aide
Show untranslated messages matching the query in the source language.
api.php?action=searchtranslations&language=fr&query=edit&filter=untranslated