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
list=mystashedfiles (msf)
- Ten moduÅ wymaga praw odczytu.
- ŹródÅo: MediaWiki
- Licencja: GPL-2.0-or-later
Get a list of files in the current user's upload stash.
Parametry:
- msfprop
Which properties to fetch for the files.
- size
- Fetch the file size and image dimensions.
- type
- Fetch the file's MIME type and media type.
- WartoÅci (oddziel za pomocÄ | lub alternatywy): size, type
- DomyÅlnie: (puste)
- msflimit
Liczba plików do pobrania.
- Type: integer or max
- WartoÅÄ musi znajdowaÄ siÄ pomiÄdzy 1 a 500.
- DomyÅlnie: 10
- msfcontinue
Gdy bÄdzie dostÄpnych wiÄcej wyników, użyj tego do kontynuowania.
PrzykÅad:
- Get the filekey, file size, and pixel size of files in the current user's upload stash.
- api.php?action=query&list=mystashedfiles&msfprop=size [otwórz w brudnopisie]