MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=messagegroups (mg)
- このモジュールは読み取りの権限を必要とします。
- ソース: 翻訳
- ライセンス: GPL-2.0-or-later
メッセージ群に関する情報を返す。
利用者言語のパラメーターは言語依存の部分の出力に影響を与えますのでご注意ください。
- mgdepth
When using the tree format, limit the depth to this many levels. Value 0 means that no subgroups are shown. If the limit is reached, the output includes a "groupcount" value, which states the number of direct children.
- 型: 整数
- 既定: 100
- mgfilter
Only return messages with IDs that match one or more of the inputs given (case-insensitive, separated by pipes, * wildcard).
- 複数の値は | または代わりの文字で区切ってください。
- 値の最大値は 50(緩い制限が適用されるクライアントでは500)です。
- 既定値: (空)
- mgformat
ツリー形式の場合、メッセージ群はツリーの複数の場所に存在できます。
- 値 (次の値のいずれか1つ): flat、tree
- 既定: flat
- mgiconsize
ラスター化したメッセージ群アイコンの最適なサイズ。
- 型: 整数
- 既定: 64
- mgprop
取得する翻訳関連情報:
- id
- Include ID of the group.
- label
- Include label of the group.
- description
- Include description of the group.
- class
- Include class name of the group.
- namespace
- Include namespace of the group. Not all groups belong to a single namespace.
- exists
- Include self-calculated existence property of the group.
- icon
- Include URLs to icon of the group.
- priority
- Include priority status like discouraged.
- prioritylangs
- Include preferred languages. If not set, this returns false.
- priorityforce
- Include priority status - is the priority languages setting forced.
- workflowstates
- Include the workflow states for the message group.
- sourcelanguage
- Include the source language for the message group.
- 値 (| または別の文字列で区切る): class、description、exists、icon、id、label、namespace、priority、priorityforce、prioritylangs、sourcelanguage、workflowstates
- 既定: id|label|description|class|exists
- mgroot
When using the tree format, instead of starting from top level start from the given message group, which must be an aggregate message group. When using flat format only the specified group is returned.
- 既定値: (空)
- mglanguageFilter
Only return message groups that can be translated to the given language.
- 既定値: (空)