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/QueryPage.md.
  • English
  • Type Alias: QueryPage<K>

    QueryPage<K> = ApiPageIdentity & Pick<ApiPage, K | "index">

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

    A page scoped to a chosen set of prop= fields: identity fields plus the named keys only. Lets callers reflect what they requested and get a compile error when reading a prop they did not ask for. The generator-injected ApiPage.index is included as well, because it comes from the query framework rather than from a prop=.

    Type Parameters

    K

    K extends keyof ApiPage

    Example

    // identity + revisions only (categories/links/... are not offered)
    const pages = Object.values(res.query.pages) as QueryPage<'revisions'>[];