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

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

One lint error (`list=linterrors`).

## Extends

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

## Properties

### category

> **category**: `string`

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

Error category key, e.g. `missing-end-tag`. Open union.

***

### lintId

> **lintId**: `number`

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

Lint row id; feed it back as `lntfrom` to continue, or to the edit form.

***

### location

> **location**: `number`\[]

Defined in: [extensions/linter.ts:53](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/linter.ts#L53)

`[start, end]` byte offsets of the offending markup in the parsable source.

***

### ns

> **ns**: `number`

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

Namespace index.

#### Inherited from

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

***

### pageid

> **pageid**: `number`

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

Page id.

#### Inherited from

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

***

### params

> **params**: [`ApiLintErrorParams`](https://types-mediawiki-response.pages.dev/zh/api/extensions/linter/ApiLintErrorParams.md)

Defined in: [extensions/linter.ts:59](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/linter.ts#L59)

Error-specific extras. Forced to a map, so an empty value is `{}`.

***

### templateInfo

> **templateInfo**: [`ApiLintTemplateInfo`](https://types-mediawiki-response.pages.dev/zh/api/extensions/linter/ApiLintTemplateInfo.md)

Defined in: [extensions/linter.ts:56](https://github.com/BearBin1215/types-mediawiki-response/blob/c1e25ea2ef2684b43c79e05d6e0dd36e33fbc9a3/src/extensions/linter.ts#L56)

Template context; `{}` when the error does not sit inside a transclusion.

***

### title

> **title**: `string`

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

Full page title.

#### Inherited from

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