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

Defined in: [core/purge.ts:14](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/purge.ts#L14)

One purged page.

## Extends

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

## Properties

### invalid?

> `optional` **invalid?**: `true`

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

`true` when the supplied title is not a valid title.

#### Inherited from

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

***

### invalidreason?

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

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

Why the title is `invalid`: a plain string under the default (`bc`)
`errorformat`, an [ApiMessage](https://types-mediawiki-response.pages.dev/zh/api/core/ApiMessage.md) under a modern one.

#### Inherited from

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

***

### iw?

> `optional` **iw?**: `string`

Defined in: [core/purge.ts:28](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/purge.ts#L28)

Interwiki prefix, for entries describing an interwiki title.

***

### known?

> `optional` **known?**: `true`

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

`true` when the page does not exist but its content is known (e.g. a
defined but unsaved interface message). Emitted by the framework itself,
without requesting `prop=info`.

#### Inherited from

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

***

### linkupdate?

> `optional` **linkupdate?**: `true`

Defined in: [core/purge.ts:22](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/purge.ts#L22)

Whether a link table update was queued (with `forcelinkupdate` or
`forcerecursivelinkupdate`). A [Flag](https://types-mediawiki-response.pages.dev/zh/api/core/Flag.md).

***

### missing?

> `optional` **missing?**: `true`

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

`true` when the page does not exist.

#### Inherited from

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

***

### ns?

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

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

Namespace index.

#### Inherited from

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

***

### pageid?

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

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

Page id. Absent when the id is unknown: a missing page requested by page
id keeps its `pageid` alongside `missing`, while title-supplied
missing/invalid pages and special pages carry no `pageid`.

#### Inherited from

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

***

### purged?

> `optional` **purged?**: `true`

Defined in: [core/purge.ts:16](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/purge.ts#L16)

Whether the page was actually purged. A [Flag](https://types-mediawiki-response.pages.dev/zh/api/core/Flag.md) (appears when purged).

***

### revid?

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

Defined in: [core/purge.ts:25](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/core/purge.ts#L25)

Revision id, for entries describing a `revids=` value that did not resolve.

***

### special?

> `optional` **special?**: `true`

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

`true` for pages in a special namespace.

#### Inherited from

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

***

### title?

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

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

Full, normalized page title.

#### Inherited from

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