미디어위키 API 도움말

이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.

설명 문서 및 예시: https://www.mediawiki.org/wiki/API

meta=filerepoinfo (fri)

(main | query | filerepoinfo)
  • 이 모듈은 read 권한을 요구합니다.
  • 출처: MediaWiki
  • 라이선스: GPL-2.0+

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, descBaseUrl, fetchDescription, scriptDirUrl, scriptExtension, favicon, canUpload
기본값: name|displayname|rootUrl|local|url|thumbUrl|initialCapital|descBaseUrl|fetchDescription|scriptDirUrl|scriptExtension|favicon|canUpload
예시:
Get information about file repositories.
api.php?action=query&meta=filerepoinfo&friprop=apiurl|name|displayname