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

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

One entry of the `acceptlang` list (a browser `Accept-Language` parse).

## Properties

### code?

> `optional` **code?**: `string`

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

Language code, or `*` for the fallback. `uiprop=acceptlang`.

***

### q?

> `optional` **q?**: `number`

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

Quality factor (0–1).
