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

# Interface: ApiUserInfo

Defined in: [core/query/userinfo.ts:35](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L35)

The `userinfo` object of a `meta=userinfo` response.

## Extends

- [`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md)

## Properties

### acceptlang?

> `optional` **acceptlang?**: [`ApiAcceptLang`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiAcceptLang.md)\[]

Defined in: [core/query/userinfo.ts:113](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L113)

Parsed `Accept-Language`. `uiprop=acceptlang`.

***

### anon?

> `optional` **anon?**: `true`

Defined in: [core/query/userinfo.ts:43](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L43)

`true` for an anonymous (IP) session. A [Flag](https://types-mediawiki-response.pages.dev/zh/api/core/Flag.md).

***

### attachedlocal?

> `optional` **attachedlocal?**: `Record`\<`string`, `boolean`>

Defined in: [core/query/users.ts:131](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L131)

Whether the account is attached to each provider, keyed like [centralids](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#centralids). `usprop=centralids` / `uiprop=centralids`.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`attachedlocal`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#attachedlocal)

***

### attachedwiki?

> `optional` **attachedwiki?**: `Record`\<`string`, `boolean`>

Defined in: [core/query/userinfo.ts:150](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L150)

Whether the user is attached on the wiki named by the `attachedwiki`
parameter, keyed by provider. Requires `uiprop=centralids` together with
the `attachedwiki` parameter.

***

### blockanononly?

> `optional` **blockanononly?**: `boolean`

Defined in: [core/query/users.ts:52](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L52)

Whether the block only affects anonymous users (soft block). A real `boolean`.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockanononly`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockanononly)

***

### blockautoblocking?

> `optional` **blockautoblocking?**: `boolean`

Defined in: [core/query/users.ts:83](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L83)

Whether the block also enables the autoblock feature. A real `boolean`.

#### Since

MediaWiki 1.46

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockautoblocking`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockautoblocking)

***

### blockcomponents?

> `optional` **blockcomponents?**: [`ApiBlockInfo`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiBlockInfo.md)\[]

Defined in: [core/query/users.ts:76](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L76)

The individual blocks composing this one; only for composite blocks.

#### Since

MediaWiki 1.42

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockcomponents`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockcomponents)

***

### blockedby?

> `optional` **blockedby?**: `string`

Defined in: [core/query/users.ts:20](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L20)

User name of the blocker; `''` when unknown (e.g. autoblocks).

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockedby`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockedby)

***

### blockedbyid?

> `optional` **blockedbyid?**: `number`

Defined in: [core/query/users.ts:23](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L23)

User id of the blocker; `0` when unknown.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockedbyid`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockedbyid)

***

### blockedtimestamp?

> `optional` **blockedtimestamp?**: `string`

Defined in: [core/query/users.ts:29](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L29)

When the block was placed or last modified.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockedtimestamp`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockedtimestamp)

***

### blockedtimestampformatted?

> `optional` **blockedtimestampformatted?**: `string`

Defined in: [core/query/users.ts:34](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L34)

`blockedtimestamp` localized for the requesting user.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockedtimestampformatted`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockedtimestampformatted)

***

### blockemail?

> `optional` **blockemail?**: `boolean`

Defined in: [core/query/users.ts:59](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L59)

Whether the block prevents sending email. A real `boolean`.

#### Since

MediaWiki 1.41

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockemail`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockemail)

***

### blockexpiry?

> `optional` **blockexpiry?**: `string`

Defined in: [core/query/users.ts:37](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L37)

Block expiry; the literal `infinite` when the block does not expire.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockexpiry`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockexpiry)

***

### blockexpiryformatted?

> `optional` **blockexpiryformatted?**: `string`

Defined in: [core/query/users.ts:40](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L40)

`blockexpiry` localized for the requesting user; only when the block expires.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockexpiryformatted`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockexpiryformatted)

***

### blockexpiryrelative?

> `optional` **blockexpiryrelative?**: `string`

Defined in: [core/query/users.ts:43](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L43)

Human-readable time to expiry (e.g. `in 5 days`); only when the block expires.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockexpiryrelative`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockexpiryrelative)

***

### blockhidden?

> `optional` **blockhidden?**: `true`

Defined in: [core/query/users.ts:91](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L91)

The block itself is suppressed (hidden from users without the `hideuser`
right). A [Flag](https://types-mediawiki-response.pages.dev/zh/api/core/Flag.md), present only when suppressed.

#### Since

MediaWiki 1.47

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockhidden`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockhidden)

***

### blockid?

> `optional` **blockid?**: `number`

Defined in: [core/query/users.ts:17](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L17)

ID of the block.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockid`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockid)

***

### blocknocreate?

> `optional` **blocknocreate?**: `boolean`

Defined in: [core/query/users.ts:49](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L49)

Whether the block prevents account creation. A real `boolean`.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blocknocreate`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blocknocreate)

***

### blockowntalk?

> `optional` **blockowntalk?**: `boolean`

Defined in: [core/query/users.ts:66](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L66)

Whether editing one's own talk page is prevented. A real `boolean`.

#### Since

MediaWiki 1.41

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockowntalk`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockowntalk)

***

### blockpartial?

> `optional` **blockpartial?**: `boolean`

Defined in: [core/query/users.ts:46](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L46)

Whether the block only applies to certain pages, namespaces and/or actions. A real `boolean`.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockpartial`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockpartial)

***

### blockreason?

> `optional` **blockreason?**: `string`

Defined in: [core/query/users.ts:26](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L26)

Block reason, in plain text.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`blockreason`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#blockreason)

***

### cancreateaccount?

> `optional` **cancreateaccount?**: `boolean`

Defined in: [core/query/userinfo.ts:79](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L79)

Whether the user can create accounts. `uiprop=cancreateaccount`; a real
`boolean` (`false` when a policy prevents it), not a [Flag](https://types-mediawiki-response.pages.dev/zh/api/core/Flag.md).

#### Since

MediaWiki 1.40

***

### cancreateaccounterror?

> `optional` **cancreateaccounterror?**: [`ApiMessage`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiMessage.md)\[] | [`ApiSpecMessage`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiSpecMessage.md)\[]

Defined in: [core/query/userinfo.ts:91](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L91)

Why account creation is not allowed, as message objects. `uiprop=cancreateaccount`;
present only when the `cancreateaccount` check does not pass.

The shape follows the request's `errorformat`: under the default (`bc`)
format these are `{ message, params, code, type }` specs, under a modern
format they are full [ApiMessage](https://types-mediawiki-response.pages.dev/zh/api/core/ApiMessage.md)s.

#### Since

MediaWiki 1.40

***

### centralids?

> `optional` **centralids?**: `Record`\<`string`, `number`>

Defined in: [core/query/users.ts:128](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L128)

Global (CentralAuth) ids keyed by provider. `usprop=centralids` / `uiprop=centralids`.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`centralids`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#centralids)

***

### changeablegroups?

> `optional` **changeablegroups?**: `object`

Defined in: [core/query/userinfo.ts:59](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L59)

Groups the (current) user may add/remove, and the self-service subsets.
`uiprop=changeablegroups`. Hyphenated keys are literal.

#### add?

> `optional` **add?**: `string`\[]

Groups the user may grant to others.

#### add-self?

> `optional` **add-self?**: `string`\[]

Groups the user may grant to their own account.

#### remove?

> `optional` **remove?**: `string`\[]

Groups the user may revoke from others.

#### remove-self?

> `optional` **remove-self?**: `string`\[]

Groups the user may revoke from their own account.

***

### editcount?

> `optional` **editcount?**: `number`

Defined in: [core/query/users.ts:113](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L113)

Total edit count. `usprop=editcount` / `uiprop=editcount`.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`editcount`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#editcount)

***

### email?

> `optional` **email?**: `string`

Defined in: [core/query/userinfo.ts:140](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L140)

The user's email address. `uiprop=email`, and only for a caller with
`viewmyprivateinfo`. An **empty string** when the address is unset or
hidden, otherwise the address.

***

### emailauthenticated?

> `optional` **emailauthenticated?**: `string`

Defined in: [core/query/userinfo.ts:143](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L143)

When the email address was confirmed. `uiprop=email`; absent when never confirmed.

***

### groupmemberships?

> `optional` **groupmemberships?**: [`ApiUserGroupMembership`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserGroupMembership.md)\[]

Defined in: [core/query/users.ts:119](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L119)

Group memberships with grant/expiry metadata. `usprop=groupmemberships` / `uiprop=groupmemberships`.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`groupmemberships`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#groupmemberships)

***

### groups?

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

Defined in: [core/query/users.ts:116](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L116)

Groups the user belongs to (including implicit). `usprop=groups` / `uiprop=groups`.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`groups`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#groups)

***

### id

> **id**: `number`

Defined in: [core/query/userinfo.ts:37](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L37)

User id; `0` for anonymous users.

***

### implicitgroups?

> `optional` **implicitgroups?**: `string`\[]

Defined in: [core/query/users.ts:122](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L122)

Groups that apply by virtue of an inherent right, not membership. `usprop=implicitgroups` / `uiprop=implicitgroups`.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`implicitgroups`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#implicitgroups)

***

### latestcontrib?

> `optional` **latestcontrib?**: `string`

Defined in: [core/query/userinfo.ts:100](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L100)

Timestamp of the user's latest edit. `uiprop=latestcontrib`; absent with no edits.

***

### messages?

> `optional` **messages?**: `boolean`

Defined in: [core/query/userinfo.ts:53](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L53)

Whether the user has unread talk-page messages. `uiprop=hasmsg`; a real `boolean`.

***

### name

> **name**: `string`

Defined in: [core/query/userinfo.ts:40](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L40)

User name or IP address.

***

### options?

> `optional` **options?**: `Record`\<`string`, `string` | `number` | `boolean` | `null`>

Defined in: [core/query/userinfo.ts:94](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L94)

The user's preferences map (open; site/user specific). `uiprop=options`.

***

### ratelimits?

> `optional` **ratelimits?**: `Record`\<`string`, `Record`\<`string`, [`ApiRateLimit`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiRateLimit.md)>>

Defined in: [core/query/userinfo.ts:103](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L103)

Effective rate limits keyed by action then bucket. `uiprop=ratelimits`.

***

### realname?

> `optional` **realname?**: `string`

Defined in: [core/query/userinfo.ts:133](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L133)

Real name. `uiprop=realname`; also absent when `$wgHiddenPrefs` includes
`realname`.

***

### registrationdate?

> `optional` **registrationdate?**: `string`

Defined in: [core/query/userinfo.ts:97](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L97)

Registration timestamp. `uiprop=registrationdate`.

***

### rights?

> `optional` **rights?**: `string`\[]

Defined in: [core/query/users.ts:125](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L125)

Effective rights. `usprop=rights` / `uiprop=rights`.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`rights`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#rights)

***

### systemblocktype?

> `optional` **systemblocktype?**: `string`

Defined in: [core/query/users.ts:69](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/users.ts#L69)

Type of the automatically applied system block; only for system blocks.

#### Inherited from

[`ApiUserCore`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md).[`systemblocktype`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiUserCore.md#systemblocktype)

***

### temp?

> `optional` **temp?**: `true`

Defined in: [core/query/userinfo.ts:50](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L50)

`true` for a temporary (auto-created) account. A [Flag](https://types-mediawiki-response.pages.dev/zh/api/core/Flag.md).

#### Since

MediaWiki 1.42

***

### theoreticalratelimits?

> `optional` **theoreticalratelimits?**: `Record`\<`string`, `Record`\<`string`, [`ApiRateLimit`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiRateLimit.md)>>

Defined in: [core/query/userinfo.ts:110](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L110)

Rate limits that _would_ apply to this user, ignoring the exemptions they
actually hold (e.g. `noratelimit`). Same shape as [ratelimits](#ratelimits);
`uiprop=theoreticalratelimits`.

***

### unreadcount?

> `optional` **unreadcount?**: `string` | `number`

Defined in: [core/query/userinfo.ts:127](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L127)

Number of unread watchlist notifications; the string `1000+` once the
count reaches the cap. `uiprop=unreadcount`.

***

### watchlistlabels?

> `optional` **watchlistlabels?**: [`ApiWatchlistLabel`](https://types-mediawiki-response.pages.dev/zh/api/core/ApiWatchlistLabel.md)\[]

Defined in: [core/query/userinfo.ts:121](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/core/query/userinfo.ts#L121)

Custom watchlist exclusion/inclusion labels. `uiprop=watchlistlabels`;
requires `$wgEnableWatchlistLabels`, and `[]` when none are set.

#### Since

MediaWiki 1.46
