MediaWiki API help

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

list=mystashedfiles (msf)

(main | query | mystashedfiles)
  • Denna modul kräver läsrättigheter.
  • Source: MediaWiki
  • License: GPL-2.0+

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

Parametrar:
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.
Värden (separerade med | eller alternativ): size, type
Default: (empty)
msflimit

How many files to get.

Inte mer än 500 (5 000 för robotar) tillåts.
Type: integer or max
Default: 10
msfcontinue

When more results are available, use this to continue.

msfnocache
(no description)
Type: boolean (details)
msfprop_append
(no description)
Type: boolean (details)
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]