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, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/api/core/ApiPageExisting.md.
  • English
  • Type Alias: ApiPageExisting

    ApiPageExisting = Require<ApiPage, "pageid" | "ns" | "title">

    Defined in: core/query/index.ts:442

    A query.pages entry whose page exists. The framework resolves pageid, ns and title for every existing entry, so they are required here instead of optional as on the merged ApiPage.

    The other entry states do not carry all three, which is why the merged ApiPage keeps them optional: a title-supplied missing entry has no pageid; a page-id-supplied missing entry has neither ns nor title; an invalid title has only title/invalidreason; a special entry has no pageid. Narrow to this type only when the request cannot yield those states — a generator= feed, or pageids= with known-good ids.