Ajuda API da MediaWiki

Esta é uma página de documentação API do MediaWiki gerada automaticamente.

Documentação e exemplos: https://www.mediawiki.org/wiki/API

meta=filerepoinfo (fri)

(main | query | filerepoinfo)
  • This module requires read rights.
  • Fonte: MediaWiki
  • Licença: GPL-2.0+

Return meta information about image repositories configured on the wiki.

Parâmetro:
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.
Valores (separar com |): name, displayname, rootUrl, local, url, thumbUrl, initialCapital, scriptDirUrl, fetchDescription, descriptionCacheExpiry, apiurl, articlepath, server, favicon, scriptExtension, canUpload
Padrão: name|displayname|rootUrl|local|url|thumbUrl|initialCapital|scriptDirUrl|fetchDescription|descriptionCacheExpiry|apiurl|articlepath|server|favicon|scriptExtension|canUpload