미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
list=messagecollection (mc)
- 이 모듈은 read 권한을 요구합니다.
- 이 모듈은 생성기로 사용할 수 있습니다.
- 출처: Translate
- 라이선스: GPL-2.0-or-later
Query MessageCollection about translations.
특정 변수:
다른 일반 변수를 사용할 수 있습니다.
- mcgroup
메시지 그룹.
- 이 변수는 필수입니다.
- mclanguage
언어 코드.
- 기본값: en
- mclimit
How many messages to show (after filtering).
- 유형: 정수 또는 max
- 값은 1와 5,000 사이여야 합니다.
- 기본값: 500
- mcoffset
더 많은 결과를 이용할 수 있을 때, 계속하려면 이것을 사용하십시오.
- 기본값: (비어 있음)
- mcfilter
Message collection filters. Use ! to negate condition. For example !fuzzy means list only all non-fuzzy messages. Filters are applied in the order given.
- fuzzy
- Messages with fuzzy tag.
- optional
- Messages which should be translated only if changes are necessary.
- ignored
- Messages which are never translated.
- hastranslation
- Messages which have a translation regardless if it is fuzzy or not.
- translated
- Messages which have a translation which is not fuzzy.
- changed
- Messages which have been translated or changed since last export.
- reviewer:N
- Messages where the user number N is among reviewers.
- last-translator:N
- Messages where the user number N is the last translator.
- | 또는 대안으로 값을 구분합니다.
- 값의 최대 수는 50(더 높은 제한이 허용된 클라이언트의 경우 500)입니다.
- 기본값: !optional|!ignored
- mcprop
Which properties to get:
- definition
- Message definition.
- translation
- Current translation (without !!FUZZY!! string if any, use the tags to check for outdated or broken translations).
- tags
- Message tags, like optional, ignored and fuzzy.
- properties
- Message properties, like status, revision, last-translator. Can vary between messages.
- revision
- 구식입니다. Use mcprop=properties.
- 값 (|로 구분): definition, properties, tags, translation, revision 또는 다른 문자열: definition, properties, tags, translation, revision
- 기본값: definition|translation
예시:
- 지원하는 언어 목록
- api.php?action=query&meta=siteinfo&siprop=languages [연습장에서 열기]
- List of non-optional message definitions for the group "page-Example"
- api.php?action=query&list=messagecollection&mcgroup=page-Example [연습장에서 열기]
- List of optional messages in Finnish with tags for the group "page-Example"
- api.php?action=query&list=messagecollection&mcgroup=page-Example&mclanguage=fi&mcprop=definition|translation|tags&mcfilter=optional [연습장에서 열기]
- More information about latest translation revisions for the group "page-Example"
- api.php?action=query&generator=messagecollection&gmcgroup=page-Example&gmclanguage=nl&prop=revisions [연습장에서 열기]