Pomoc MediaWiki API

To jest automatycznie wygenerowana strona dokumentacji MediaWiki API. Dokumentacja i przykłady: https://www.mediawiki.org/wiki/API

prop=stashimageinfo (sii)

(main | query | stashimageinfo)
  • Ten moduł wymaga praw odczytu.
  • Źródło: MediaWiki
  • Licencja: GPL-2.0+

Returns file information for stashed files.

Parametry:
siifilekey

Key that identifies a previous upload that was stashed temporarily.

Oddziel wartości za pomocą |. Maksymalna liczba wartości to 50 (500 dla botów).
siisessionkey
Przestarzałe.

Alias for siifilekey, for backward compatibility.

Oddziel wartości za pomocą |. Maksymalna liczba wartości to 50 (500 dla botów).
siiprop

Which file information to get:

timestamp
Adds timestamp for the uploaded version.
canonicaltitle
Dodaje kanoniczny tytuł pliku.
url
Gives URL to the file and the description page.
size
Adds the size of the file in bytes and the height, width and page count (if applicable).
dimensions
Alias rozmiaru.
sha1
Dodaj sumę kontrolną SHA-1 dla tego pliku.
mime
Dodaje typ MIME pliku.
thumbmime
Adds MIME type of the image thumbnail (requires url and param siiurlwidth).
metadata
Lists Exif metadata for the version of the file.
commonmetadata
Lists file format generic metadata for the version of the file.
extmetadata
Lists formatted metadata combined from multiple sources. Results are HTML formatted.
bitdepth
Adds the bit depth of the version.
Wartości (oddziel za pomocą |): timestamp, canonicaltitle, url, size, dimensions, sha1, mime, thumbmime, metadata, commonmetadata, extmetadata, bitdepth
Domyślnie: timestamp|url
siiurlwidth

If siiprop=url is set, a URL to an image scaled to this width will be returned. For performance reasons if this option is used, no more than 50 scaled images will be returned.

Type: integer
Domyślnie: -1
siiurlheight

Podobne do siiurlwidth.

Type: integer
Domyślnie: -1
siiurlparam

A handler specific parameter string. For example, PDFs might use page15-100px. siiurlwidth must be used and be consistent with siiurlparam.

Domyślnie: (puste)