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

    Defined in: core/query/filerepoinfo.ts:15

    One file repository: an element of the query.repos array.

    Properties

    apiurl?

    optional apiurl?: string

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

    Base path of the repo wiki's API, for ForeignAPIRepo backends. friprop=apiurl.


    articleUrl?

    optional articleUrl?: string

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

    URL prefix of the repo wiki's article pages. friprop=articleUrl.


    canUpload?

    optional canUpload?: boolean

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

    Whether the requesting user may upload here. friprop=canUpload.


    descBaseUrl?

    optional descBaseUrl?: 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?

    optional descriptionCacheExpiry?: number

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

    How long fetched descriptions are cached, in seconds. friprop=descriptionCacheExpiry.


    displayname?

    optional displayname?: string

    Defined in: core/query/filerepoinfo.ts:20

    Human-readable repo name. friprop=displayname.


    favicon?

    optional favicon?: string

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

    URL of the repo wiki's favicon. friprop=favicon.


    fetchDescription?

    optional fetchDescription?: boolean

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

    Whether description pages are fetched from the remote wiki. friprop=fetchDescription.


    initialCapital?

    optional initialCapital?: boolean

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

    Whether titles on the repo wiki are capitalized on first letter. friprop=initialCapital.


    local?

    optional local?: boolean

    Defined in: core/query/filerepoinfo.ts:23

    Whether this is the wiki's own repo. friprop=local.


    name?

    optional name?: string

    Defined in: core/query/filerepoinfo.ts:17

    Repo id; local is the wiki's own repo. friprop=name (default).


    rootUrl?

    optional rootUrl?: string

    Defined in: core/query/filerepoinfo.ts:29

    Repo root without the hashed subpath. friprop=rootUrl.


    scriptDirUrl?

    optional scriptDirUrl?: 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?

    optional thumbUrl?: string

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

    Base path for thumbnails. friprop=thumbUrl.


    url?

    optional url?: string

    Defined in: core/query/filerepoinfo.ts:26

    Public base path of the repo. friprop=url.