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

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

    One redirect resolved by the framework (redirects=1).

    Extends

    Properties

    categorysnippet?

    optional categorysnippet?: string

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

    Snippet of the matching category. srprop=categorysnippet.

    Inherited from

    ApiSearchResult.categorysnippet


    extensiondata?

    optional extensiondata?: unknown

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

    Search-backend extension data, keyed by augmentor name. srprop=extensiondata.

    Inherited from

    ApiSearchResult.extensiondata


    from?

    optional from?: string

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

    The title as supplied.

    Inherited from

    ApiQueryTitlePair.from


    index?

    optional index?: number

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

    1-based rank of the redirect source in the generator's ordering, present only when that source was fed by a generator (generator=search / generator=prefixsearch). The rest of the source's generator data is merged into the entry as well, while from/to/tofragment/tointerwiki always win over it.


    isfilematch?

    optional isfilematch?: boolean

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

    Whether the hit matched a file. srprop=isfilematch; a real boolean.

    Inherited from

    ApiSearchResult.isfilematch


    ns?

    optional ns?: number

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

    Namespace index.

    Inherited from

    ApiSearchResult.ns


    pageid?

    optional pageid?: number

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

    Page id.

    Inherited from

    ApiSearchResult.pageid


    redirectsnippet?

    optional redirectsnippet?: string

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

    HTML snippet of the redirect target title. srprop=redirectsnippet.

    Inherited from

    ApiSearchResult.redirectsnippet


    redirecttitle?

    optional redirecttitle?: string

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

    Title of the redirect target, if this hit redirects. srprop=redirecttitle.

    Inherited from

    ApiSearchResult.redirecttitle


    sectionsnippet?

    optional sectionsnippet?: string

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

    HTML snippet of the section heading. srprop=sectionsnippet.

    Inherited from

    ApiSearchResult.sectionsnippet


    sectiontitle?

    optional sectiontitle?: string

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

    Title of the section the match is in. srprop=sectiontitle.

    Inherited from

    ApiSearchResult.sectiontitle


    size?

    optional size?: number

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

    Page size in bytes. srprop=size.

    Inherited from

    ApiSearchResult.size


    snippet?

    optional snippet?: string

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

    HTML snippet of the match, with highlights. srprop=snippet.

    Inherited from

    ApiSearchResult.snippet


    timestamp?

    optional timestamp?: string

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

    Last-edit timestamp. srprop=timestamp.

    Inherited from

    ApiSearchResult.timestamp


    title?

    optional title?: string

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

    Full page title.

    Inherited from

    ApiSearchResult.title


    titlesnippet?

    optional titlesnippet?: string

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

    HTML snippet of the title. srprop=titlesnippet.

    Inherited from

    ApiSearchResult.titlesnippet


    to?

    optional to?: string

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

    The title it resolved to.

    Inherited from

    ApiQueryTitlePair.to


    tofragment?

    optional tofragment?: string

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

    Fragment of the target title, when it carries one.


    tointerwiki?

    optional tointerwiki?: string

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

    Interwiki prefix of the target, when it points off-site.


    wordcount?

    optional wordcount?: number

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

    Word count. srprop=wordcount.

    Inherited from

    ApiSearchResult.wordcount