Помощ за МедияУики API

Това е автоматично генерирана страница за документация на МедияУики API.

Документация и примери: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page

list=mystashedfiles (msf)

(main | query | mystashedfiles)

Get a list of files in the current user's upload stash.

Specific parameters:
Other general parameters are available.
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.
Стойности (разделени с | или алтернативния разделител): size, type
По подразбиране: (празно)
msflimit

How many files to get.

Type: integer or max
The value must be between 1 and 500.
Default: 10
msfcontinue

When more results are available, use this to continue. More detailed information on how to continue queries can be found on mediawiki.org.

Пример:
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 [open in sandbox]