MediaWiki-API-Hilfe
Dies ist eine automatisch generierte MediaWiki-API-Dokumentationsseite.
Dokumentation und Beispiele: https://www.mediawiki.org/wiki/API/de
meta=filerepoinfo (fri)
- Dieses Modul erfordert Leserechte.
- Quelle: MediaWiki
- Lizenz: GPL-2.0+
Return meta information about image repositories configured on the wiki.
Parameter:
- 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. $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.
- Werte (mit | trennen): name, displayname, rootUrl, local, url, thumbUrl, initialCapital, descBaseUrl, fetchDescription, scriptDirUrl, scriptExtension, favicon, canUpload
- Standard: name|displayname|rootUrl|local|url|thumbUrl|initialCapital|descBaseUrl|fetchDescription|scriptDirUrl|scriptExtension|favicon|canUpload
Beispiel:
- Get information about file repositories.
- api.php?action=query&meta=filerepoinfo&friprop=apiurl|name|displayname