Trợ giúp về API MediaWiki

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: 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.

Các tham số:
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.
Values (separate with | or alternative): size, type
Mặc định: (trống)
msflimit

Có bao nhiêu tập tin nhận được.

Type: integer or max
The value must be between 1 and 500.
Mặc định: 10
msfcontinue

When more results are available, use this to continue.

Ví dụ:
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]