Ayuda de la API de MediaWiki
Esta es una página de documentación autogenerada de la API de MediaWiki.
Documentación y ejemplos: https://www.mediawiki.org/wiki/API
meta=filerepoinfo (fri)
- Este módulo requiere permisos de lectura.
 - Fuente: MediaWiki
 - Licencia: GPL-2.0-or-later
 
Devuelve metainformación sobre los repositorios de imágenes configurados en el wiki.
Parámetro:
- friprop
 Propiedades del repositorio a obtener (puede haber más disponibles en algunos wikis):
- apiurl
 - URL del repositorio API - útil para obtener información de imagen del servidor.
 - name
 - La clave del repositorio - usado in e.g. $wgForeignFileRepos y imageinfo devuelve valores.
 - displayname
 - El nombre legible del repositorio wiki.
 - rooturl
 - Raíz URL para rutas de imágenes.
 - local
 - Si ese repositorio es local o no.
 - apiurl
 - URL to the repository API - helpful for getting image info from the host.
 - articlepath
 - Repository wiki's $wgArticlePath or equivalent.
 - canUpload
 - Whether files can be uploaded to this repository, e.g. via CORS and shared authentication.
 - descriptionCacheExpiry
 - (sin descripción)
 - displayname
 - The human-readable name of the repository wiki.
 - favicon
 - Repository wiki's favicon URL, from $wgFavicon.
 - fetchDescription
 - Whether file description pages are fetched from this repository when viewing local file description pages.
 - initialCapital
 - Whether file names implicitly start with a capital letter.
 - local
 - Whether that repository is the local one or not.
 - name
 - The key of the repository - used in e.g. $wgForeignFileRepos and imageinfo return values.
 - rootUrl
 - Root URL path for image paths.
 - scriptDirUrl
 - Root URL path for the repository wiki's MediaWiki installation.
 - server
 - Repository wiki's $wgServer or equivalent.
 - thumbUrl
 - Root URL path for thumbnail paths.
 - url
 - Public zone URL path.
 
- Valores (separados por | u otro separador): apiurl, articlepath, canUpload, descriptionCacheExpiry, displayname, favicon, fetchDescription, initialCapital, local, name, rootUrl, scriptDirUrl, server, thumbUrl, url
 - Predeterminado: apiurl|articlepath|canUpload|descriptionCacheExpiry|displayname|favicon|fetchDescription|initialCapital|local|name|rootUrl|scriptDirUrl|server|thumbUrl|url
 
Ejemplo:
- Obtener información acerca de los repositorios de archivos.
 - api.php?action=query&meta=filerepoinfo&friprop=apiurl|name|displayname [abrir en la zona de pruebas]