Interface: ApiQueryResolvedRedirect
Defined in: core/query/index.ts:499
One redirect resolved by the framework (redirects=1).
Extends
Properties
categorysnippet?
optionalcategorysnippet?:string
Defined in: core/query/search.ts:56
Snippet of the matching category. srprop=categorysnippet.
Inherited from
ApiSearchResult.categorysnippet
extensiondata?
optionalextensiondata?:unknown
Defined in: core/query/search.ts:74
Search-backend extension data, keyed by augmentor name. srprop=extensiondata.
Inherited from
from?
optionalfrom?:string
Defined in: core/query/index.ts:480
The title as supplied.
Inherited from
index?
optionalindex?: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?
optionalisfilematch?:boolean
Defined in: core/query/search.ts:71
Whether the hit matched a file. srprop=isfilematch; a real boolean.
Inherited from
ns?
optionalns?:number
Defined in: core/query/search.ts:32
Namespace index.
Inherited from
pageid?
optionalpageid?:number
Defined in: core/query/search.ts:38
Page id.
Inherited from
redirectsnippet?
optionalredirectsnippet?:string
Defined in: core/query/search.ts:68
HTML snippet of the redirect target title. srprop=redirectsnippet.
Inherited from
ApiSearchResult.redirectsnippet
redirecttitle?
optionalredirecttitle?:string
Defined in: core/query/search.ts:65
Title of the redirect target, if this hit redirects. srprop=redirecttitle.
Inherited from
sectionsnippet?
optionalsectionsnippet?:string
Defined in: core/query/search.ts:62
HTML snippet of the section heading. srprop=sectionsnippet.
Inherited from
ApiSearchResult.sectionsnippet
sectiontitle?
optionalsectiontitle?:string
Defined in: core/query/search.ts:59
Title of the section the match is in. srprop=sectiontitle.
Inherited from
size?
optionalsize?:number
Defined in: core/query/search.ts:41
Page size in bytes. srprop=size.
Inherited from
snippet?
optionalsnippet?:string
Defined in: core/query/search.ts:50
HTML snippet of the match, with highlights. srprop=snippet.
Inherited from
timestamp?
optionaltimestamp?:string
Defined in: core/query/search.ts:47
Last-edit timestamp. srprop=timestamp.
Inherited from
title?
optionaltitle?:string
Defined in: core/query/search.ts:35
Full page title.
Inherited from
titlesnippet?
optionaltitlesnippet?:string
Defined in: core/query/search.ts:53
HTML snippet of the title. srprop=titlesnippet.
Inherited from
to?
optionalto?:string
Defined in: core/query/index.ts:483
The title it resolved to.
Inherited from
tofragment?
optionaltofragment?:string
Defined in: core/query/index.ts:501
Fragment of the target title, when it carries one.
tointerwiki?
optionaltointerwiki?:string
Defined in: core/query/index.ts:504
Interwiki prefix of the target, when it points off-site.
wordcount?
optionalwordcount?:number
Defined in: core/query/search.ts:44
Word count. srprop=wordcount.