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

    ApiSearchHit = ApiSearchResult & object

    Defined in: core/query/search.ts:83

    A list=search hit. The module writes ns, title and pageid for every hit, before any srprop value is considered, so they are required here — unlike ApiSearchResult, which stays all-optional because generator=search merges the same shape into ApiPage entries.

    Type Declaration

    ns

    ns: NamespaceIndex

    Namespace index.

    pageid

    pageid: number

    Page id.

    title

    title: string

    Full page title.