Nápověda k MediaWiki API
Toto je automaticky generovaná dokumentační stránka k MediaWiki API.
Dokumentace a příklady: https://www.mediawiki.org/wiki/API
prop=images (im)
- Tento modul vyžaduje oprávnění ke čtení.
 - Tento modul lze využívat jako generátor.
 - Zdroj: MediaWiki
 - Licence: GPL-2.0-or-later
 
Returns all files contained on the given pages.
Parametry:
- imlimit
 How many files to return.
- Není dovoleno více než 500 (5 000 pro boty).
 - Type: integer or max
 - Implicitní hodnota: 10
 - imcontinue
 When more results are available, use this to continue.
- imimages
 Only list these files. Useful for checking whether a certain page has a certain file.
- Hodnoty oddělujte pomocí | nebo alternativou. Maximální počet hodnot je 50 (pro boty 500).
 - imdir
 The direction in which to list.
- Jedna z následujících hodnot: ascending, descending
 - Implicitní hodnota: ascending
 
Příklady:
- Get a list of files used in the Main Page.
 - api.php?action=query&prop=images&titles=Main%20Page [otevřít v pískovišti]
 - Get information about all files used in the Main Page.
 - api.php?action=query&generator=images&titles=Main%20Page&prop=info [otevřít v pískovišti]