Interface: ApiFileRepoInfo
Defined in: core/query/filerepoinfo.ts:15
One file repository: an element of the query.repos array.
Properties
apiurl?
optionalapiurl?:string
Defined in: core/query/filerepoinfo.ts:47
Base path of the repo wiki's API, for ForeignAPIRepo backends. friprop=apiurl.
articleUrl?
optionalarticleUrl?:string
Defined in: core/query/filerepoinfo.ts:53
URL prefix of the repo wiki's article pages. friprop=articleUrl.
canUpload?
optionalcanUpload?:boolean
Defined in: core/query/filerepoinfo.ts:44
Whether the requesting user may upload here. friprop=canUpload.
descBaseUrl?
optionaldescBaseUrl?:string
Defined in: core/query/filerepoinfo.ts:50
URL prefix of the repo wiki's file description pages (e.g. …/wiki/File:). friprop=descBaseUrl.
descriptionCacheExpiry?
optionaldescriptionCacheExpiry?:number
Defined in: core/query/filerepoinfo.ts:59
How long fetched descriptions are cached, in seconds. friprop=descriptionCacheExpiry.
displayname?
optionaldisplayname?:string
Defined in: core/query/filerepoinfo.ts:20
Human-readable repo name. friprop=displayname.
favicon?
optionalfavicon?:string
Defined in: core/query/filerepoinfo.ts:38
URL of the repo wiki's favicon. friprop=favicon.
fetchDescription?
optionalfetchDescription?:boolean
Defined in: core/query/filerepoinfo.ts:56
Whether description pages are fetched from the remote wiki. friprop=fetchDescription.
initialCapital?
optionalinitialCapital?:boolean
Defined in: core/query/filerepoinfo.ts:41
Whether titles on the repo wiki are capitalized on first letter. friprop=initialCapital.
local?
optionallocal?:boolean
Defined in: core/query/filerepoinfo.ts:23
Whether this is the wiki's own repo. friprop=local.
name?
optionalname?:string
Defined in: core/query/filerepoinfo.ts:17
Repo id; local is the wiki's own repo. friprop=name (default).
rootUrl?
optionalrootUrl?:string
Defined in: core/query/filerepoinfo.ts:29
Repo root without the hashed subpath. friprop=rootUrl.
scriptDirUrl?
optionalscriptDirUrl?:string
Defined in: core/query/filerepoinfo.ts:35
Base path of the repo's wiki, e.g. https://www.mediawiki.org/w. friprop=scriptDirUrl.
thumbUrl?
optionalthumbUrl?:string
Defined in: core/query/filerepoinfo.ts:32
Base path for thumbnails. friprop=thumbUrl.
url?
optionalurl?:string
Defined in: core/query/filerepoinfo.ts:26
Public base path of the repo. friprop=url.