MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
list=messagecollection (mc)
- このモジュールは読み取りの権限を必要とします。
- このモジュールはジェネレーターとして使用できます。
- Source: 翻訳
- License: GPL-2.0+
Query MessageCollection about translations.
パラメーター:
- mcgroup
Message group.
- このパラメーターは必須です。
- mclanguage
Language code.
- 既定値: en
- mclimit
How many messages to show (after filtering).
- No more than 5,000 (5,000 for bots) allowed.
- Type: integer or max
- 既定値: 500
- mcoffset
When more results are available, use this to continue.
- 既定値: (空)
- 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
- Deprecated! Use mcprop=properties.
- 値 (|で区切る): definition、translation、tags、revision、properties
- 既定値: definition|translation
例:
- List of supported languages
- 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 [サンドボックスで開く]