Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API.

Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_pag

list=mystashedfiles (msf)

(main | query | mystashedfiles)

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
The value must be between 1 and 500.
Default: 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]