미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=contenttranslation
- 이 모듈은 read 권한을 요구합니다.
- 이 모듈은 생성기로 사용할 수 있습니다.
- 출처: ContentTranslation
- 라이선스: GPL-2.0-or-later
번역을 위한 내용 번역 데이터베이스를 조회합니다.
특정 변수:
다른 일반 변수를 사용할 수 있습니다.
- translationid
번역 ID.
- from
원본 언어 코드입니다.
- to
대상 언어 코드입니다.
- sourcetitle
원문의 제목입니다.
- sourcesectiontitle
The title of the source section (optional).
- limit
가져올 번역의 최대 수입니다.
- 유형: 정수 또는 max
- 값은 1와 500 사이여야 합니다.
- 기본값: 100
- offset
Offset into result set (optional).
- type
번역 상태
- 다음 값 중 하나: draft, published 또는 다른 문자열: draft, published
- usecase
The usecase for which the translations are being fetched (optional).
- 다음 값 중 하나: desktop-editor-draft, translation-corpora-units, unified-dashboard 또는 다른 문자열: desktop-editor-draft, translation-corpora-units, unified-dashboard
예시:
- 현재 사용자가 만든 번역을 가져옵니다.
- api.php?action=query&list=contenttranslation [연습장에서 열기]
- ID로 번역 초안을 가져옵니다.
- api.php?action=query&list=contenttranslation&translationid=94 [연습장에서 열기]
- Find any translation for the given title between given language pair
- api.php?action=query&list=contenttranslation&from=en&to=es&sourcetitle=Hibiscus [연습장에서 열기]