Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
meta=filerepoinfo (fri)
- Ten moduł wymaga praw odczytu.
 - Źródło: MediaWiki
 - Licencja: GPL-2.0-or-later
 
Zwróć meta-informacje na temat repozytorów obrazów skonfigurowanych na wiki.
Parametr:
Other general parameters are available.
- friprop
 Which repository properties to get (properties available may vary on other wikis).
- canUpload
 - Whether files can be uploaded to this repository, e.g. via CORS and shared authentication.
 - displayname
 - The human-readable name of the repository wiki.
 - favicon
 - Repository wiki's favicon URL, from $wgFavicon.
 - 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.
 - thumbUrl
 - Root URL path for thumbnail paths.
 - url
 - Public zone URL path.
 
- Wartości (oddziel za pomocą | lub alternatywy): canUpload, displayname, favicon, initialCapital, local, name, rootUrl, scriptDirUrl, thumbUrl, url
 - Domyślnie: canUpload|displayname|favicon|initialCapital|local|name|rootUrl|scriptDirUrl|thumbUrl|url
 
Przykład:
- Uzyskaj informacje na temat repozytoriów plików.
 - api.php?action=query&meta=filerepoinfo&friprop=name|displayname [otwórz w brudnopisie]