MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

meta=messagegroups (mg)

(main | query | messagegroups)
  • Denna modul kräver läsrättigheter.
  • Source: Översätt
  • License: GPL-2.0-or-later

Returnera information om meddelandegrupper.

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

Parametrar:
Other general parameters are available.
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.

Typ: heltal
Standard: 100
mgfilter

Only return messages with IDs that match one or more of the inputs given (case-insensitive, separated by pipes, * wildcard).

Separera värden med | eller alternativ.
Högsta antalet värden är 50 (500 för klienter som tillåts högre gränser).
Default: (empty)
mgformat

In the tree format message groups can exist in multiple places in the tree.

Ett av följande värden: flat, tree
Standard: flat
mgiconsize

Preferred size of rasterised group icon.

Typ: heltal
Standard: 64
mgprop

Vilken översättningsrelaterad information som ska hämtas:

id
Inkluderar gruppens ID.
label
Inkluderar gruppens etikett.
description
Inkluderar gruppens beskrivning.
class
Inkluderar gruppens klassnamn.
namespace
Inkluderar gruppens namnrymd. Inte alla grupper tillhör samma namnrymd.
exists
Inkluderar gruppens egenuträknade existensegenskap.
icon
Inkluderar URL:er till gruppens ikoner.
priority
Inkluderar prioriteringsgrupper som avrådd.
prioritylangs
Inkluderar föredragna språk. Har den inte angetts returneras false.
priorityforce
Inkluderar prioriteringsstatus - är prioriteringsspråken inställning framtvingad.
workflowstates
Inkluderar meddelandegruppens arbetsflödesstatus.
id
Inkludera ID för gruppen.
label
Inkludera etikett för gruppen.
description
Inkludera beskrivning av gruppen.
class
Inkludera klassnamn för gruppen.
namespace
Inkludera namnrymd för gruppen. Alla grupper tillhör inte en enda namnrymd.
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.
sourcelanguage
Inkludera källspråket för meddelandegruppen.
subscription
Include whether the user is subscribed to the group.
Värden (separerade med | eller alternativ): class, description, exists, icon, id, label, namespace, priority, priorityforce, prioritylangs, sourcelanguage, subscription, workflowstates
Standard: 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.

Default: (empty)
mglanguageFilter

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

Default: (empty)