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

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

`siprop=extensions`: one installed extension or skin. Keys other than
[type](#type) appear only when the component's `extension.json` declares them.

## Properties

### author?

> `optional` **author?**: `string`

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

Authors, joined with `, ` (links are embedded as URLs).

***

### credits?

> `optional` **credits?**: `string`

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

URL of `Special:Version/Credits/<name>`.

***

### description?

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

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

Literal description, when configured.

***

### descriptionmsg?

> `optional` **descriptionmsg?**: `string`

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

Message key holding the description.

***

### descriptionmsgparams?

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

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

Parameters for [descriptionmsg](#descriptionmsg).

***

### license?

> `optional` **license?**: `string`

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

URL of `Special:Version/License/<name>`.

***

### license-name?

> `optional` **license-name?**: `string`

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

License identifier from `extension.json`.

***

### name?

> `optional` **name?**: `string`

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

Display name.

***

### namemsg?

> `optional` **namemsg?**: `string`

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

Message key holding the name.

***

### type

> **type**: `string` & `object` | `"specialpage"` | `"editor"` | `"wikifamily"` | `"parserhook"` | `"variable"` | `"media"` | `"antispam"` | `"skin"` | `"api"` | `"other"`

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

Component class. The names MediaWiki has display labels for are
`specialpage`, `editor`, `wikifamily`, `parserhook`, `variable`, `media`,
`antispam`, `skin`, `api` and `other`, but the value is never validated
against them: a component declares its own `type` in `extension.json`,
`$wgExtensionCredits` entries pass through as written, and the
`ExtensionTypes` hook can add further names — **open union**.

***

### url?

> `optional` **url?**: `string`

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

Project URL.

***

### vcs-date?

> `optional` **vcs-date?**: `string`

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

VCS commit date of the checkout.

***

### vcs-system?

> `optional` **vcs-system?**: `string`

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

VCS system, e.g. `git`; only for checkout-installed components.

***

### vcs-url?

> `optional` **vcs-url?**: `string` | `false`

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

VCS URL of the checkout; `false` when the repository has no viewable
remote URL.

***

### vcs-version?

> `optional` **vcs-version?**: `string`

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

VCS commit of the checkout.

***

### version?

> `optional` **version?**: `string`

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

Declared version.
