> For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/llms-full.txt.

# Interface: ApiTranslateMessageGroup

Defined in: [extensions/translate.ts:39](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L39)

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?

> `optional` **class?**: `string`

Defined in: [extensions/translate.ts:50](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L50)

PHP class backing the group, e.g. `WikiPageMessageGroup`. `mgprop=class`.

***

### description?

> `optional` **description?**: `string`

Defined in: [extensions/translate.ts:47](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L47)

Localized group description. `mgprop=description`.

***

### exists?

> `optional` **exists?**: `boolean`

Defined in: [extensions/translate.ts:60](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L60)

Whether the group currently exists (real `boolean`). `mgprop=exists`.

***

### groupcount?

> `optional` **groupcount?**: `number`

Defined in: [extensions/translate.ts:104](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L104)

Number of nested groups folded into this entry (`mgformat=tree` with
`mgdepth` reached).

***

### groups?

> `optional` **groups?**: `ApiTranslateMessageGroup`\[]

Defined in: [extensions/translate.ts:107](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L107)

Child groups (`mgformat=tree` above the depth cutoff).

***

### icon?

> `optional` **icon?**: `Record`\<`string`, `unknown`>

Defined in: [extensions/translate.ts:65](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L65)

Icon URLs keyed by size. `mgprop=icon`; absent for groups without an icon.

***

### id?

> `optional` **id?**: `string`

Defined in: [extensions/translate.ts:41](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L41)

Group id, e.g. `page-Example`, `!recent`. `mgprop=id`.

***

### label?

> `optional` **label?**: `string`

Defined in: [extensions/translate.ts:44](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L44)

Localized group label. `mgprop=label`.

***

### namespace?

> `optional` **namespace?**: `number` | `false`

Defined in: [extensions/translate.ts:57](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L57)

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?

> `optional` **priority?**: `string` & `object` | `"default"`

Defined in: [extensions/translate.ts:71](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L71)

Translation priority. Beyond the core `default`, values are site-defined
(set through the group's priority metadata).

***

### priorityforce?

> `optional` **priorityforce?**: `boolean`

Defined in: [extensions/translate.ts:83](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L83)

Whether translation to non-priority languages is prevented.
`mgprop=priorityforce`.

***

### prioritylangs?

> `optional` **prioritylangs?**: `false` | `string`\[]

Defined in: [extensions/translate.ts:77](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L77)

Priority languages of the group, or `false` when unset.
`mgprop=prioritylangs`.

***

### sourcelanguage?

> `optional` **sourcelanguage?**: `string`

Defined in: [extensions/translate.ts:92](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L92)

Source language of the group's messages. `mgprop=sourcelanguage`.

***

### subscription?

> `optional` **subscription?**: `boolean`

Defined in: [extensions/translate.ts:98](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L98)

Whether the current user is subscribed to group updates. `mgprop=subscription`;
absent when group subscription is disabled or unavailable to the user.

***

### workflowstates?

> `optional` **workflowstates?**: `false` | `Record`\<`string`, [`ApiTranslateWorkflowState`](https://types-mediawiki-response.pages.dev/api/extensions/translate/ApiTranslateWorkflowState.md)>

Defined in: [extensions/translate.ts:89](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/translate.ts#L89)

Workflow states of the group keyed by state id, or `false` when the group
has none. `mgprop=workflowstates`.
