Pomoč za API MediaWiki

To je samodejno ustvarjena dokumentacijska stran za dejanja API-ja MediaWiki.

meta=messagegroups (mg)

(main | query | messagegroups)

Return information about message groups.

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

Specifični parametri:
Na voljo so tudi drugi splošni parametri.
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.

Vtipkajte: celo število
Privzeto: 100
mgfilter

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

Loči vrednosti z | ali alternative.
Največje število vrednosti je 50 (500 za odjemalce z večjimi dovoljenimi omejitvami)
Privzeto: (prazno)
mgformat

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

Ena od naslednjih vrednosti: flat, tree
Privzeto: flat
mgiconsize

Preferred size of rasterised group icon.

Vtipkajte: celo število
Privzeto: 64
mgprop

Kateri podatki v zvezi s prevodom naj se pridobijo:

id
Vključitev ID-ja skupine.
label
Vključitev oznake skupine.
description
Vključitev opisa skupine.
class
Vključitev imena razreda skupine.
namespace
Vključitev imenskega prostora skupine. Vse skupine ne pripadajo enemu samemu imenskemu prostoru.
exists
Vključitev samoizračunane lastnosti obstoja skupine.
icon
V ikono skupine vključi URL-je.
priority
Vključi status prioritete, kot je »discouraged«.
prioritylangs
Vključite želene jezike. Če ni nastavljeno, vrne »false«.
priorityforce
Vključitev prioritetnega status – ali je nastavitev prednostnih jezikov vsiljena.
workflowstates
Vključi stanja delovnega toka za skupino sporočil.
sourcelanguage
Vključi izvorni jezik skupine sporočil.
subscription
Include whether the user is subscribed to the group.
Vrednosti (ločene s | ali alternativa): class, description, exists, icon, id, label, namespace, priority, priorityforce, prioritylangs, sourcelanguage, subscription, workflowstates
Privzeto: 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.

Privzeto: (prazno)
mglanguageFilter

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

Privzeto: (prazno)