Pomoc API MediaWiki
To jest automatycznie wygenerowana strona dokumentacji API MediaWiki.
Dokumentacja i przykłady: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=stashimageinfo (sii)
- Ten moduł wymaga praw odczytu.
 - Źródło: MediaWiki
 - Licencja: GPL-2.0-or-later
 
Zwraca informacje o ukrytych plikach.
Parametry:
Other general parameters are available.
- siifilekey
 Key that identifies a previous upload that was stashed temporarily.
- Oddziel wartości za pomocą | lub alternatywy.
 - Maksymalna liczba wartości to 50 (500 dla klientów z podwyższonymi limitami).
 - siisessionkey
 - Przestarzałe.
 Alias dla siifilekey, dla kompatybilności wstecznej.
- Oddziel wartości za pomocą | lub alternatywy.
 - Maksymalna liczba wartości to 50 (500 dla klientów z podwyższonymi limitami).
 - siiprop
 Informacje o pliku do pozyskania:
- timestamp
 - Adds timestamp for the uploaded version.
 - canonicaltitle
 - Dodaje kanoniczny tytuł pliku. Jeśli plik został trwale usunięty (revision delete), zwrócona zostanie właściwość filehidden.
 - url
 - Gives URL to the file and the description page. If the file has been revision deleted, a filehidden property will be returned.
 - size
 - Adds the size of the file in bytes and the height, width and page count (if applicable).
 - dimensions
 - Alias rozmiaru.
 - sha1
 - Dołączy sumę kontrolną SHA-1 dla tego pliku. Jeśli plik został trwale usunięty (revision delete), zwrócona zostanie właściwość filehidden.
 - mime
 - Dodaje typ MIME pliku. Jeśli plik został trwale usunięty (revision delete), zwrócona zostanie właściwość filehidden.
 - thumbmime
 - Adds MIME type of the image thumbnail (requires url and param siiurlwidth). If the file has been revision deleted, a filehidden property will be returned.
 - metadata
 - Lists Exif metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
 - commonmetadata
 - Lists file format generic metadata for the version of the file. If the file has been revision deleted, a filehidden property will be returned.
 - extmetadata
 - Lists formatted metadata combined from multiple sources. Results are HTML formatted. If the file has been revision deleted, a filehidden property will be returned.
 - bitdepth
 - Adds the bit depth of the version. If the file has been revision deleted, a filehidden property will be returned.
 - badfile
 - Adds whether the file is on the MediaWiki:Bad image list
 
- Wartości (oddziel za pomocą | lub alternatywy): badfile, bitdepth, canonicaltitle, commonmetadata, dimensions, extmetadata, metadata, mime, sha1, size, thumbmime, timestamp, url
 - 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.
- Typ: liczba całkowita
 - Domyślnie: -1
 - siiurlheight
 Podobne do siiurlwidth.
- Typ: liczba całkowita
 - 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)
 
Przykłady:
- Zwraca informacje o ukrytym pliku.
 - api.php?action=query&prop=stashimageinfo&siifilekey=124sd34rsdf567 [otwórz w brudnopisie]
 - Returns thumbnails for two stashed files.
 - api.php?action=query&prop=stashimageinfo&siifilekey=b34edoe3|bceffd4&siiurlwidth=120&siiprop=url [otwórz w brudnopisie]