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

Defined in: [extensions/urlshortener.ts:24](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/urlshortener.ts#L24)

The `shortenurl` object of an `action=shortenurl` response.

## Properties

### qrcode?

> `optional` **qrcode?**: `string`

Defined in: [extensions/urlshortener.ts:40](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/urlshortener.ts#L40)

SVG markup of a QR code encoding the target URL, when `qrcode=1` was passed
and the wiki has QR codes enabled.

#### Since

MediaWiki 1.41

***

### shorturl?

> `optional` **shorturl?**: `string`

Defined in: [extensions/urlshortener.ts:26](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/urlshortener.ts#L26)

Full short URL carrying the base-32 short code.

***

### shorturlalt?

> `optional` **shorturlalt?**: `string`

Defined in: [extensions/urlshortener.ts:32](https://github.com/BearBin1215/types-mediawiki-response/blob/d354a9c689faf74c19e13b617a83dcdb7a83726f/src/extensions/urlshortener.ts#L32)

Alternative short URL using the alternate code mapping (a string whose
characters are individually base-32-shifted), kept valid in parallel.
