> 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: ApiWatchlistEntry

Defined in: [core/query/watchlist.ts:19](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L19)

One watchlist entry. `wlprop` controls which fields appear.

## Extends

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

## Properties

### actionhidden?

> `optional` **actionhidden?**: `true`

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

The log action is hidden (log-deleted). `wlprop=ids|title|loginfo` (only for `type=log`); a [Flag](https://types-mediawiki-response.pages.dev/api/core/Flag.md).

***

### anon?

> `optional` **anon?**: `boolean`

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

Made by an anonymous editor. `wlprop=user|userid`; a real `boolean`.

***

### autopatrolled?

> `optional` **autopatrolled?**: `boolean`

Defined in: [core/query/watchlist.ts:112](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L112)

Auto-patrolled flag. `wlprop=patrol`; a real `boolean`.

***

### bot?

> `optional` **bot?**: `boolean`

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

Made by a bot. `wlprop=flags`; a real `boolean`.

***

### comment?

> `optional` **comment?**: `string`

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

Raw summary. `wlprop=comment`.

***

### commenthidden?

> `optional` **commenthidden?**: `true`

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

The edit summary is hidden (revision-deleted). `wlprop=comment|parsedcomment`; a [Flag](https://types-mediawiki-response.pages.dev/api/core/Flag.md).

#### Overrides

[`ApiHiddenFlags`](https://types-mediawiki-response.pages.dev/api/core/ApiHiddenFlags.md).[`commenthidden`](https://types-mediawiki-response.pages.dev/api/core/ApiHiddenFlags.md#commenthidden)

***

### expiry?

> `optional` **expiry?**: `string` | `false`

Defined in: [core/query/watchlist.ts:118](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L118)

Upcoming protection expiry, or `false` when none. `wlprop=expiry`.

***

### labels?

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

Defined in: [core/query/watchlist.ts:135](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L135)

Watchlist labels attached to the page. `wlprop=labels`; requires
`$wgEnableWatchlistLabels`, and `[]` when there are none.

#### Since

MediaWiki 1.46

***

### logaction?

> `optional` **logaction?**: `string`

Defined in: [core/query/watchlist.ts:45](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L45)

Log action. `wlprop=loginfo` (only for `type=log`).

***

### logdisplay?

> `optional` **logdisplay?**: `string`

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

Localized log action text, e.g. `changed protection settings`.
`wlprop=loginfo` (only for `type=log`).

***

### logid?

> `optional` **logid?**: `number`

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

Log id. `wlprop=loginfo` (only for `type=log`).

***

### logparams?

> `optional` **logparams?**: [`ApiLogEventParams`](https://types-mediawiki-response.pages.dev/api/core/ApiLogEventParams.md)

Defined in: [core/query/watchlist.ts:51](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L51)

Structured log details — see [ApiLogEventParams](https://types-mediawiki-response.pages.dev/api/core/ApiLogEventParams.md). `wlprop=loginfo`
(only for `type=log`).

***

### logtype?

> `optional` **logtype?**: `string`

Defined in: [core/query/watchlist.ts:42](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L42)

Log type. `wlprop=loginfo` (only for `type=log`).

***

### minor?

> `optional` **minor?**: `boolean`

Defined in: [core/query/watchlist.ts:85](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L85)

Was a minor edit. `wlprop=flags`; a real `boolean`.

***

### new?

> `optional` **new?**: `boolean`

Defined in: [core/query/watchlist.ts:82](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L82)

Created a new page. `wlprop=flags`; a real `boolean`.

***

### newlen?

> `optional` **newlen?**: `number`

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

New revision size in bytes. `wlprop=sizes`.

***

### notificationtimestamp?

> `optional` **notificationtimestamp?**: `string`

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

When the user last saw the page; `""` when never. `wlprop=notificationtimestamp`.

***

### ns?

> `optional` **ns?**: `number`

Defined in: [core/query/watchlist.ts:24](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L24)

Namespace index.

***

### old_revid?

> `optional` **old_revid?**: `number`

Defined in: [core/query/watchlist.ts:36](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L36)

Previous revision id. `wlprop=ids`.

***

### oldlen?

> `optional` **oldlen?**: `number`

Defined in: [core/query/watchlist.ts:88](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L88)

Old revision size in bytes. `wlprop=sizes`.

***

### pageid?

> `optional` **pageid?**: `number`

Defined in: [core/query/watchlist.ts:30](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L30)

Page id. `wlprop=ids`.

***

### parsedcomment?

> `optional` **parsedcomment?**: `string`

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

HTML-rendered summary. `wlprop=parsedcomment`.

***

### patrolled?

> `optional` **patrolled?**: `boolean`

Defined in: [core/query/watchlist.ts:106](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L106)

Whether the change is patrolled. `wlprop=patrol`; a real `boolean`.

***

### revid?

> `optional` **revid?**: `number`

Defined in: [core/query/watchlist.ts:33](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L33)

Revision id. `wlprop=ids`.

***

### suppressed?

> `optional` **suppressed?**: `true`

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

Oversight/suppression applies to the entry (set together with the
`*hidden` flags). A [Flag](https://types-mediawiki-response.pages.dev/api/core/Flag.md).

#### Inherited from

[`ApiHiddenFlags`](https://types-mediawiki-response.pages.dev/api/core/ApiHiddenFlags.md).[`suppressed`](https://types-mediawiki-response.pages.dev/api/core/ApiHiddenFlags.md#suppressed)

***

### tags?

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

Defined in: [core/query/watchlist.ts:115](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L115)

Change tags. `wlprop=tags`.

***

### temp?

> `optional` **temp?**: `boolean`

Defined in: [core/query/watchlist.ts:73](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L73)

Made by a temporary account. `wlprop=user`; a real `boolean`.

#### Since

MediaWiki 1.42

***

### timestamp?

> `optional` **timestamp?**: `string`

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

Change timestamp. `wlprop=timestamp`.

***

### title?

> `optional` **title?**: `string`

Defined in: [core/query/watchlist.ts:27](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L27)

Page title.

***

### type?

> `optional` **type?**: [`RecentChangeType`](https://types-mediawiki-response.pages.dev/api/core/RecentChangeType.md)

Defined in: [core/query/watchlist.ts:21](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L21)

Change type.

***

### unpatrolled?

> `optional` **unpatrolled?**: `boolean`

Defined in: [core/query/watchlist.ts:109](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L109)

Unpatrolled flag. `wlprop=patrol`; a real `boolean`.

***

### user?

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

Defined in: [core/query/watchlist.ts:63](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L63)

Actor user name or IP. `wlprop=user`; under `wlprop=userid` only, the
actor's user id (number) for backwards compatibility.

***

### userhidden?

> `optional` **userhidden?**: `true`

Defined in: [core/query/watchlist.ts:124](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/query/watchlist.ts#L124)

The author is hidden. `wlprop=user|userid`; a [Flag](https://types-mediawiki-response.pages.dev/api/core/Flag.md).

#### Overrides

[`ApiHiddenFlags`](https://types-mediawiki-response.pages.dev/api/core/ApiHiddenFlags.md).[`userhidden`](https://types-mediawiki-response.pages.dev/api/core/ApiHiddenFlags.md#userhidden)

***

### userid?

> `optional` **userid?**: `number`

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

Actor user id. `wlprop=userid`.
