Interface: ApiTranslateMessageGroup
Defined in: extensions/translate.ts:39
One meta=messagegroups entry. mgprop controls which fields appear. The
groups themselves are site-defined (wiki pages, YAML files, aggregate
definitions), so ids beyond the dynamic !recent / !additions ones are
open-ended.
Properties
class?
optionalclass?:string
Defined in: extensions/translate.ts:50
PHP class backing the group, e.g. WikiPageMessageGroup. mgprop=class.
description?
optionaldescription?:string
Defined in: extensions/translate.ts:47
Localized group description. mgprop=description.
exists?
optionalexists?:boolean
Defined in: extensions/translate.ts:60
Whether the group currently exists (real boolean). mgprop=exists.
groupcount?
optionalgroupcount?:number
Defined in: extensions/translate.ts:104
Number of nested groups folded into this entry (mgformat=tree with
mgdepth reached).
groups?
optionalgroups?:ApiTranslateMessageGroup[]
Defined in: extensions/translate.ts:107
Child groups (mgformat=tree above the depth cutoff).
icon?
optionalicon?:Record<string,unknown>
Defined in: extensions/translate.ts:65
Icon URLs keyed by size. mgprop=icon; absent for groups without an icon.
id?
optionalid?:string
Defined in: extensions/translate.ts:41
Group id, e.g. page-Example, !recent. mgprop=id.
label?
optionallabel?:string
Defined in: extensions/translate.ts:44
Localized group label. mgprop=label.
namespace?
optionalnamespace?:number|false
Defined in: extensions/translate.ts:57
Namespace the group's messages live in, e.g. 1198 (the Translations
namespace) for page groups; false for groups without a namespace (the
dynamic !recent / !additions ones). mgprop=namespace.
priority?
optionalpriority?:string&object|"default"
Defined in: extensions/translate.ts:71
Translation priority. Beyond the core default, values are site-defined
(set through the group's priority metadata).
priorityforce?
optionalpriorityforce?:boolean
Defined in: extensions/translate.ts:83
Whether translation to non-priority languages is prevented.
mgprop=priorityforce.
prioritylangs?
optionalprioritylangs?:false|string[]
Defined in: extensions/translate.ts:77
Priority languages of the group, or false when unset.
mgprop=prioritylangs.
sourcelanguage?
optionalsourcelanguage?:string
Defined in: extensions/translate.ts:92
Source language of the group's messages. mgprop=sourcelanguage.
subscription?
optionalsubscription?:boolean
Defined in: extensions/translate.ts:98
Whether the current user is subscribed to group updates. mgprop=subscription;
absent when group subscription is disabled or unavailable to the user.
workflowstates?
optionalworkflowstates?:false|Record<string,ApiTranslateWorkflowState>
Defined in: extensions/translate.ts:89
Workflow states of the group keyed by state id, or false when the group
has none. mgprop=workflowstates.