MediaWiki API ヘルプ
ãã®ãã¼ã¸ã¯èªåçæããã MediaWiki API ã®èª¬æææ¸ãã¼ã¸ã§ãã
èª¬æææ¸ã¨ä¾: https://www.mediawiki.org/wiki/API
prop=stashimageinfo (sii)
- ãã®ã¢ã¸ã¥ã¼ã«ã¯èªã¿åãã®æ¨©éãå¿ è¦ã¨ãã¾ãã
- Source: MediaWiki
- License: GPL-2.0-or-later
Returns file information for stashed files.
ãã©ã¡ã¼ã¿ã¼:
- siifilekey
Key that identifies a previous upload that was stashed temporarily.
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- siisessionkey
- 廿¢äºå®ã§ãã
Alias for siifilekey, for backward compatibility.
- è¤æ°ã®å¤ã¯ | ãããã¯ä»£ããã®æåã§åºåã£ã¦ãã ããã å¤ã®æå¤§å¤ã¯ 50 (ãããã®å ´å㯠500) ã§ãã
- siiprop
åå¾ãããã¡ã¤ã«æ å ±:
- timestamp
- Adds timestamp for the uploaded version.
- canonicaltitle
- Adds the canonical title of the file.
- url
- ãã¡ã¤ã«ã¨èª¬æãã¼ã¸ã¸ã®URLãæä¾ãã¾ãã
- size
- ãã¤ãåä½ã§ãã¡ã¤ã«ãé«ããå¹ ããã¼ã¸æ°ã®ãµã¤ãºã追å ãã¾ãï¼è©²å½ããå ´åï¼ã
- dimensions
- Alias for size.
- sha1
- Adds SHA-1 hash for the file.
- mime
- ãã¡ã¤ã«ã®MIMEã¿ã¤ãã追å ãã¾ãã
- thumbmime
- ç»åãµã ãã¤ã«ã®MIMEã¿ã¤ãã追å ãã¾ã(url 㨠siiurlwidth ãã©ã¡ã¼ã¿ãå¿ é ã§ã)ã
- metadata
- ãã¡ã¤ã«ã®ãã¼ã¸ã§ã³ã® Exif ã¡ã¿ãã¼ã¿ãä¸è¦§è¡¨ç¤ºãã¾ãã
- 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
- ãã¼ã¸ã§ã³ã®ãããæ·±åº¦ã追å ãã¾ãã
- badfile
- Adds whether the file is on the MediaWiki:Bad image list
- å¤ (|ãããã¯å¥ã®æååã§åºåã): timestampãcanonicaltitleãurlãsizeãdimensionsãsha1ãmimeãthumbmimeãmetadataãcommonmetadataãextmetadataãbitdepthãbadfile
- æ¢å®å¤: 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
Similar to 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 [ãµã³ãããã¯ã¹ã§éã]