Справка MediaWiki API
ÐÑо авÑомаÑиÑеÑки ÑгенеÑиÑÐ¾Ð²Ð°Ð½Ð½Ð°Ñ ÑÑÑаниÑа докÑменÑаÑии MediaWiki API.
ÐокÑменÑаÑÐ¸Ñ Ð¸ пÑимеÑÑ: https://www.mediawiki.org/wiki/API
meta=messagegroups (mg)
- ÐÑÐ¾Ñ Ð¼Ð¾Ð´ÑÐ»Ñ ÑÑебÑÐµÑ Ð¿Ñав на ÑÑение.
- ÐÑÑоÑник: Translate
- ÐиÑензиÑ: GPL-2.0-or-later
Return information about message groups.
Note that the uselang parameter affects the output of language dependent parts.
- 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
In the tree format message groups can exist in multiple places in the tree.
- Ðдно из ÑледÑÑÑÐ¸Ñ Ð·Ð½Ð°Ñений: flat, tree
- Ðо ÑмолÑаниÑ: flat
- mgiconsize
Preferred size of rasterised group icon.
- Тип: Ñелое ÑиÑло
- Ðо ÑмолÑаниÑ: 64
- mgprop
What translation-related information to get:
- 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.
- ÐнаÑÐµÐ½Ð¸Ñ (ÑазделÑннÑе Ñ Ð¿Ð¾Ð¼Ð¾ÑÑÑ | или алÑÑеÑнаÑивного ÑазделиÑелÑ): id, label, description, class, namespace, exists, icon, priority, prioritylangs, priorityforce, 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.
- Ðо ÑмолÑаниÑ: (пÑÑÑо)
- ÐоказаÑÑ Ð³ÑÑÐ¿Ð¿Ñ ÑообÑений
- api.php?action=query&meta=messagegroups [оÑкÑÑÑÑ Ð² пеÑоÑниÑе]