MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/API
meta=filerepoinfo (fri)
- このモジュールは読み取りの権限を必要とします。
 
Return meta information about image repositories configured on the wiki.
パラメーター:
- 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.
 
- 値 (|で区切る): name、displayname、rootUrl、local、url、thumbUrl、initialCapital、scriptDirUrl、scriptExtension、favicon
 - 既定値: name|displayname|rootUrl|local|url|thumbUrl|initialCapital|scriptDirUrl|scriptExtension|favicon
 
例:
- Get information about file repositories.
 - api.php?action=query&meta=filerepoinfo&friprop=apiurl|name|displayname