MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
meta=messagegroups (mg)
- Este módulo requiere permisos de lectura.
- Fuente: Translate
- Licencia: GPL-2.0+
Devolver información sobre grupos de mensajes.
Nota que el parámetro "uselang" afecta la salida de las partes dependientes del idioma.
- mgdepth
Cuando se utiliza el formato de árbol, limitar la profundidad a esta cantidad de niveles. El valor 0 significa que no se muestran subgrupos. Si se alcanza el límite, el resultado incluye un valor de "cuenta de grupal", que indica el número de hijos directos.
- Tipo: entero
- Predeterminado: 100
- mgfilter
Only return messages with IDs that match one or more of the inputs given (case-insensitive, separated by pipes, * wildcard).
- Separar los valores con |. El número máximo de los valores es 50 (500 para los bots).
- Predeterminado: (vacío)
- mgformat
In the tree format message groups can exist in multiple places in the tree.
- Uno de los siguientes valores: flat, tree
- Predeterminado: flat
- mgiconsize
Preferred size of rasterised group icon.
- Tipo: entero
- Predeterminado: 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.
- Valores (separados por |): id, label, description, class, namespace, exists, icon, priority, prioritylangs, priorityforce, workflowstates
- Predeterminado: id|label|description|class|exists
- mgroot
Cuando se utiliza el formato de árbol, en lugar de partir de nivel superior empezar desde el mensaje del grupo, que debe ser un agregado de mensaje de grupo. Cuando se utiliza plano formato de sólo el grupo especificado se devuelve.
- Predeterminado: (vacío)
- Mostrar grupos de mensajes
- api.php?action=query&meta=messagegroups [open in sandbox]