Nápověda k MediaWiki API

Toto je automaticky generovaná dokumentační stránka k MediaWiki API.

Dokumentace a příklady: https://www.mediawiki.org/wiki/API

list=mystashedfiles (msf)

(main | query | mystashedfiles)
  • Tento modul vyžaduje oprávnění ke čtení.
  • Zdroj: MediaWiki
  • Licence: GPL-2.0-or-later

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.
Hodnoty (oddělené | nebo alternativou.): size, type
Implicitní hodnota: (prázdné)
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.

Příklad:
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 [otevřít v pískovišti]