Trợ giúp về API MediaWiki
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
meta=messagegroups (mg)
- Mô đun này cần quyền đọc.
- Source: Biên dịch
- License: GPL-2.0+
Return information about message groups.
Note that the uselang parameter affects the output of language dependent parts.
- mgdepth
Khi sử dụng định dạng cây, giới hạn chiều cao đến các cấp độ. Giá trị 0 nghĩa là không nhóm con nào được hiển thị. Nếu đạt tới giới hạn, kết quả xuất sẽ bao gồm giá trị "số nhóm", tức số lượng con trực tiếp.
- Type: integer
- Mặc định: 100
- mgfilter
Only return messages with IDs that match one or more of the inputs given (case-insensitive, separated by pipes, * wildcard).
- Phân tách các giá trị bằng |. Maximum number of values is 50 (500 for bots).
- Mặc định: (trống)
- mgformat
In the tree format message groups can exist in multiple places in the tree.
- Một giá trị: flat, tree
- Mặc định: flat
- mgiconsize
Preferred size of rasterised group icon.
- Type: integer
- Mặc định: 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.
- Các giá trị (phân tách bằng |): id, label, description, class, namespace, exists, icon, priority, prioritylangs, priorityforce, workflowstates
- Mặc định: 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.
- Mặc định: (trống)
- Show message groups
- api.php?action=query&meta=messagegroups