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/core/ApiRandomPage.md.
  • 中文
  • Interface: ApiRandomPage

    Defined in: core/query/random.ts:13

    One randomly selected page.

    Properties

    id

    id: number

    Defined in: core/query/random.ts:15

    Page id — keyed id here, unlike the pageid elsewhere.


    ns

    ns: number

    Defined in: core/query/random.ts:18

    Namespace index.


    redirect?

    optional redirect?: boolean

    Defined in: core/query/random.ts:27

    The page is a redirect. A real boolean (explicitly false too); present only with rnfilterredir=all.


    title

    title: string

    Defined in: core/query/random.ts:21

    Full page title.