MediaWiki API ヘルプ

このページは自動生成された MediaWiki API の説明文書ページです。

説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

meta=messagegroups (mg)

(main | query | messagegroups)
  • このモジュールは読み取りの権限を必要とします。
  • ソース: 翻訳
  • ライセンス: 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
メッセージ群 ID を含める。
label
メッセージ群のラベルを含める。
description
メッセージ群の説明を含める。
class
メッセージ群のクラス名を含める。
namespace
メッセージ群の名前空間を含める。すべてのメッセージ群が単一の名前空間に属しているわけではありません。
exists
メッセージ群の自己計算された存在プロパティを含める。
icon
メッセージ群のアイコンの URL を含める。
priority
優先状態を含める (例: 非推奨)
prioritylangs
優先言語を含める。設定されていない場合は false を返します。
priorityforce
優先状態を含める - 優先言語設定が強制されているかどうか。
workflowstates
メッセージ群のワークフロー状態を含める
値 (| または別の文字列で区切る): 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.

既定値: (空)