미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
action=searchtranslations
(main | searchtranslations)
- 이 모듈은 read 권한을 요구합니다.
- 출처: Translate
- 라이선스: GPL-2.0-or-later
Search translations.
변수:
- service
Which of the available translation services to use.
- 다음 값 중 하나: 또는 alternative:
- query
The string to search for.
- 이 변수는 필수 입력 사항입니다.
- sourcelanguage
The language code of the source text.
- 기본값: ko
- language
The language code to search string for.
- 기본값: (비어 있음)
- group
The group ID to search string in.
- 기본값: (비어 있음)
- filter
Message translation status filter.
- 다음 값 중 하나: 비어 있을 수 있거나 translated, fuzzy, untranslated 또는 alternative: 비어 있을 수 있거나 translated, fuzzy, untranslated
- 기본값: (비어 있음)
- match
Match any/all search words.
- 기본값: (비어 있음)
- case
Case (in)sensitive search.
- 기본값: 0
- offset
Offset for the translations.
- 유형: 정수
- 기본값: 0
- limit
Size of the result.
- 50 초과는 허용되지 않습니다. (봇의 경우 500)
- 유형: 정수 또는 max
- 기본값: 25
예시:
- 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 [연습장에서 열기]