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]