MediaWiki API ヘルプ
このページは自動生成された MediaWiki API の説明文書ページです。
説明文書と例: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=stashimageinfo (sii)
- このモジュールは読み取りの権限を必要とします。
 - ソース: MediaWiki
 - ライセンス: 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
 - アップロードされたバージョンのタイムスタンプを追加します。
 - canonicaltitle
 - そのファイルのカノニカルなタイトル。ファイルが版指定削除されている場合、 filehidden プロパティが返されます。
 - url
 - ファイルと説明ページへのURLを提供します。ファイルが版指定削除されている場合、 filehidden プロパティが返されます。
 - size
 - バイト単位でファイルや高さ、幅、ページ数のサイズを追加します(該当する場合)。
 - dimensions
 - size の別名。
 - sha1
 - Adds SHA-1 hash for the file. If the file has been revision deleted, a filehidden property will be returned.
 - mime
 - ファイルのMIMEタイプを追加します。ファイルが版指定削除されている場合、 filehidden プロパティが返されます。
 - thumbmime
 - 画像サムネイルのMIMEタイプを追加します(url と siiurlwidth パラメータが必須です)。ファイルが版指定削除されている場合、 filehidden プロパティが返されます。
 - metadata
 - ファイルのバージョンの Exif メタデータを一覧表示します。ファイルが版指定削除されている場合、 filehidden プロパティが返されます。
 - 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
 - バージョンのビット深度を追加します。ファイルが版指定削除されている場合、 filehidden プロパティが返されます。
 - 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
 - 既定: 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.
- 型: 整数
 - 既定: -1
 - siiurlheight
 Similar to siiurlwidth.
- 型: 整数
 - 既定: -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 [サンドボックスで開く]