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, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/zh/api/extensions/urlshortener/ApiShortenUrlResult.md.
  • 中文
  • Interface: ApiShortenUrlResult

    Defined in: extensions/urlshortener.ts:24

    The shortenurl object of an action=shortenurl response.

    Properties

    qrcode?

    optional qrcode?: string

    Defined in: extensions/urlshortener.ts:40

    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

    Full short URL carrying the base-32 short code.


    shorturlalt?

    optional shorturlalt?: string

    Defined in: extensions/urlshortener.ts:32

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