MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
meta=filerepoinfo (fri)
- Denna modul kräver läsrättigheter.
- Source: MediaWiki
- License: GPL-2.0+
Returnera metainformation om bildegenskaper som konfigureras på wikin.
Parametrar:
- friprop
Which repository properties to get (there may be more available on some wikis):
- apiurl
- URL to the repository API - helpful for getting image info from the host.
- name
- The key of the repository - used in e.g. [[mw:Special:MyLanguage/Manual:wgForeignFileRepos]] and imageinfo return values.
- displayname
- The human-readable name of the repository wiki.
- rooturl
- Root URL for image paths.
- local
- Whether that repository is the local one or not.
- Värden (separerade med | eller alternativ): name, displayname, rootUrl, local, url, thumbUrl, initialCapital, scriptDirUrl, scriptExtension, favicon, canUpload
- Default: name|displayname|rootUrl|local|url|thumbUrl|initialCapital|scriptDirUrl|scriptExtension|favicon|canUpload
- frinocache
- (no description)
- Type: boolean (details)
- friprop_append
- (no description)
- Type: boolean (details)
Example:
- Get information about file repositories.
- api.php?action=query&meta=filerepoinfo&friprop=apiurl|name|displayname [open in sandbox]