Ayuda de la API de MediaWiki

Esta es una página de documentación autogenerada de la API de MediaWiki.

Documentación y ejemplos: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

meta=messagegroups (mg)

(main | query | messagegroups)
  • Este módulo requiere permisos de lectura.
  • Fuente: Translate
  • Licencia: GPL-2.0-or-later

Return information about message groups.

Note that the uselang parameter affects the output of language dependent parts.

Parámetros:
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 | o con una alternativa.
Maximum number of values is 50 (500 for clients that are allowed higher limits).
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 | u otro separador): class, description, exists, icon, id, label, namespace, priority, priorityforce, prioritylangs, sourcelanguage, 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)
mglanguageFilter

Only return message groups that can be translated to the given language.

Predeterminado: (vacío)