Interface: ApiSearchInterwikiResult
Defined in: core/query/search.ts:101
One interwiki search hit, an element of
ApiQueryResult.interwikisearch / ApiQueryResult.additionalsearch.
Fields follow srprop exactly like ApiSearchResult, except title
is the bare page name without the namespace, pageid is always 0, and the
interwiki namespace/URL fields below are added.
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
isfilematch?
optionalisfilematch?:boolean
Defined in: core/query/search.ts:71
Whether the hit matched a file. srprop=isfilematch; a real boolean.
Inherited from
namespace?
optionalnamespace?:string
Defined in: core/query/search.ts:103
Namespace name on the foreign wiki, as text.
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
url?
optionalurl?:string
Defined in: core/query/search.ts:106
Full URL of the hit on the foreign wiki.
wordcount?
optionalwordcount?:number
Defined in: core/query/search.ts:44
Word count. srprop=wordcount.