미디어위키 API 도움말
이 페이지는 자동으로 생성된 미디어위키 API 도움말 문서입니다.
설명 문서 및 예시: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
prop=imageinfo (ii)
- 이 모듈은 read 권한을 요구합니다.
 - 출처: MediaWiki
 - 라이선스: GPL-2.0-or-later
 
파일 정보와 업로드 역사를 반환합니다.
- iiprop
 가져올 파일 정보:
- timestamp
 - 업로드된 판에 대한 타임스탬프를 추가합니다.
 - user
 - Adds the user who uploaded each file version. If the user has been revision deleted, a userhidden property will be returned.
 - userid
 - Add the ID of the user that uploaded each file version. If the user has been revision deleted, a userhidden property will be returned.
 - comment
 - Comment on the version. If the comment has been revision deleted, a commenthidden property will be returned.
 - parsedcomment
 - 판의 설명을 변환합니다.
 - 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 iiurlwidth). If the file has been revision deleted, a filehidden property will be returned.
 - mediatype
 - 파일의 미디어 유형을 추가합니다.
 - 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.
 - archivename
 - Adds the filename of the archive version for non-latest versions. 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.
 - uploadwarning
 - Used by the Special:Upload page to get information about an existing file. Not intended for use outside MediaWiki core.
 - badfile
 - Adds whether the file is on the MediaWiki:Bad image list
 
- 값 (|로 구분): archivename, badfile, bitdepth, canonicaltitle, comment, commonmetadata, dimensions, extmetadata, mediatype, metadata, mime, parsedcomment, sha1, size, thumbmime, timestamp, uploadwarning, url, user, userid 또는 다른 문자열: archivename, badfile, bitdepth, canonicaltitle, comment, commonmetadata, dimensions, extmetadata, mediatype, metadata, mime, parsedcomment, sha1, size, thumbmime, timestamp, uploadwarning, url, user, userid
 - 기본값: timestamp|user
 - iilimit
 How many file revisions to return per file.
- 유형: 정수 또는 max
 - The value must be between 1 and 500.
 - 기본값: 1
 - iistart
 Timestamp to start listing from.
- 유형: 타임스탬프 (허용되는 포맷)
 - iiend
 Timestamp to stop listing at.
- 유형: 타임스탬프 (허용되는 포맷)
 - iiurlwidth
 If iiprop=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
 - iiurlheight
 iiurlwidth와 유사합니다.
- Type: integer
 - 기본값: -1
 - iimetadataversion
 Version of metadata to use. If latest is specified, use latest version. Defaults to 1 for backwards compatibility.
- 기본값: 1
 - iiextmetadatalanguage
 What language to fetch extmetadata in. This affects both which translation to fetch, if multiple are available, as well as how things like numbers and various values are formatted.
- 기본값: ko
 - iiextmetadatamultilang
 If translations for extmetadata property are available, fetch all of them.
- Type: boolean (details)
 - iiextmetadatafilter
 If specified and non-empty, only these keys will be returned for iiprop=extmetadata.
- | 또는 대안으로 값을 구분합니다.
 - Maximum number of values is 50 (500 for clients that are allowed higher limits).
 - iiurlparam
 A handler specific parameter string. For example, PDFs might use page15-100px. iiurlwidth must be used and be consistent with iiurlparam.
- 기본값: (비어 있음)
 - iibadfilecontexttitle
 If badfilecontexttitleprop=badfile is set, this is the page title used when evaluating the MediaWiki:Bad image list
- iicontinue
 더 많은 결과를 이용할 수 있을 때, 계속하려면 이것을 사용하십시오.
- iilocalonly
 Look only for files in the local repository.
- Type: boolean (details)
 
- File:Albert Einstein Head.jpg의 현재 판에 대한 정보를 가져옵니다.
 - api.php?action=query&titles=File:Albert%20Einstein%20Head.jpg&prop=imageinfo [연습장에서 열기]
 - 2008년 및 그 이후의 File:Test.jpg의 판에 대한 정보를 가져옵니다.
 - api.php?action=query&titles=File:Test.jpg&prop=imageinfo&iilimit=50&iiend=2007-12-31T23:59:59Z&iiprop=timestamp|user|url [연습장에서 열기]