미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/API
prop=stashimageinfo (sii)
- 이 모듈은 read 권한을 요구합니다.
 - 출처: MediaWiki
 - 라이선스: GPL-2.0-or-later
 
Returns file information for stashed files.
변수:
- siifilekey
 Key that identifies a previous upload that was stashed temporarily.
- | 또는 대안으로 값을 구분합니다.
 - Maximum number of values is 50 (500 for clients allowed higher limits).
 - siisessionkey
 - 구식입니다.
 Alias for siifilekey, for backward compatibility.
- | 또는 대안으로 값을 구분합니다.
 - Maximum number of values is 50 (500 for clients allowed higher limits).
 - siiprop
 가져올 파일 정보:
- timestamp
 - 업로드된 판에 대한 타임스탬프를 추가합니다.
 - canonicaltitle
 - Adds the canonical title of the file. If the file has been revision deleted, a filehidden property will be returned.
 - 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 for size.
 - sha1
 - 파일에 대한 SHA-1 해시를 추가합니다.
 - mime
 - Adds MIME type of the file. If the file has been revision deleted, a filehidden property will be returned.
 - 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
 
- 값 (|로 구분): badfile, bitdepth, canonicaltitle, commonmetadata, dimensions, extmetadata, metadata, mime, sha1, size, thumbmime, timestamp, url 또는 다른 문자열: badfile, bitdepth, canonicaltitle, commonmetadata, dimensions, extmetadata, metadata, mime, sha1, size, thumbmime, timestamp, url
 - 기본값: 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
 - 기본값: -1
 - siiurlheight
 siiurlwidth와 유사합니다.
- Type: integer
 - 기본값: -1
 - siiurlparam
 A handler specific parameter string. For example, PDFs might use page15-100px. siiurlwidth must be used and be consistent with siiurlparam.
- 기본값: (비어 있음)
 
예시:
- Returns information for a stashed file.
 - api.php?action=query&prop=stashimageinfo&siifilekey=124sd34rsdf567 [연습장에서 열기]
 - Returns thumbnails for two stashed files.
 - api.php?action=query&prop=stashimageinfo&siifilekey=b34edoe3|bceffd4&siiurlwidth=120&siiprop=url [연습장에서 열기]