MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
list=mystashedfiles (msf)
- This module requires read rights.
- Source: MediaWiki
- License: GPL-2.0-or-later
Get a list of files in the current user's upload stash.
Parameters:
- 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
- Default: (empty)
- msflimit
How many files to get.
- No more than 500 (5,000 for bots) allowed.
- Type: integer or max
- Default: 10
- msfcontinue
เมื่อมีผลลัพธ์เพิ่มเติมพร้อมใช้งาน ใช้ตัวเลือกนี้เพื่อดำเนินการต่อ
Example:
- 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]