Interface: ApiInterwikiMapEntry
Defined in: core/query/siteinfo.ts:578
One interwiki prefix (siprop=interwikimap).
Properties
api?
optionalapi?:string
Defined in: core/query/siteinfo.ts:626
API endpoint from the interwiki table.
bcp47?
optionalbcp47?:string
Defined in: core/query/siteinfo.ts:605
BCP 47 form of the language code.
code?
optionalcode?:string
Defined in: core/query/siteinfo.ts:614
Effective language code of an extralanglink prefix.
deprecated?
optionaldeprecated?:string
Defined in: core/query/siteinfo.ts:602
Current code when prefix is a deprecated language code.
Since
MediaWiki 1.40
extralanglink?
optionalextralanglink?:true
Defined in: core/query/siteinfo.ts:611
Present when the prefix feeds interlanguage links. A Flag.
language?
optionallanguage?:string
Defined in: core/query/siteinfo.ts:595
Language name, for language-coded prefixes.
linktext?
optionallinktext?:string
Defined in: core/query/siteinfo.ts:617
Link text from interlanguage-link-<prefix>.
local?
optionallocal?:true
Defined in: core/query/siteinfo.ts:583
true when links using this prefix are always local (iw_local). A Flag.
localinterwiki?
optionallocalinterwiki?:true
Defined in: core/query/siteinfo.ts:608
Present for a locally defined prefix ($wgLocalInterwikis). A Flag.
prefix
prefix:
string
Defined in: core/query/siteinfo.ts:580
Interwiki prefix, e.g. mw.
protorel
protorel:
boolean
Defined in: core/query/siteinfo.ts:592
Whether the stored template is protocol-relative. A real boolean.
sitename?
optionalsitename?:string
Defined in: core/query/siteinfo.ts:620
Site name from interlanguage-link-sitename-<prefix>.
trans?
optionaltrans?:true
Defined in: core/query/siteinfo.ts:586
true when the prefix may be transcluded (iw_trans). A Flag.
url
url:
string
Defined in: core/query/siteinfo.ts:589
URL template, with $1 for the target title.
wikiid?
optionalwikiid?:string
Defined in: core/query/siteinfo.ts:623
Wiki id, for wikiid-scoped prefixes.