API:Imageinfo

Gets image information for any titles in the image namespace. This will eventually get superseded by prop=fileinfo.

Parameters

 * : Which properties to get
 * : The time and date of the revision (default)
 * : The user who made the revision (default)
 * : The id of the user who made the revision
 * : The edit comment
 * : Parsed version of comment
 * : The canonical title of the image file
 * : URLs of the image and its description page
 * : The image's size in bytes, plus width and height. A page count is also returned if the image is in a format that supports multiple pages.
 * : (Alias for size)
 * : The image's SHA-1 hash
 * : The image's MIME type
 * : The image thumbnail's MIME type (for use with the iiurl parameters)
 * : The media type of the image
 * : Exif metadata for the image, if available. See File metadata handling for information on file metadata handling in MediaWiki
 * : Generic metadata for the file format, if available.
 * : HTML metadata from extensions which implement the GetExtendedMetadata hook. Also contains most of, but in a somewhat standardized format.
 * : Archive name (old images only)
 * : The bit depth of the image
 * : Used by Special:Upload. Not intended for use outside the MediaWiki core.
 * : How many image revisions to return (1 by default)
 * : Timestamp to start listing from
 * : Timestamp to stop listing at
 * : If  is set, a URL to an image scaled to this width will be returned as well in   along with   and  . Old versions of images can't be scaled
 * : Similar to
 * What version of metadata to use. Only affects JPEGs (as of this writing). You usually want this set to latest.
 * 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.
 * If translations for extmetadata property are available, fetch all of them. The values of the multi-languaged metadata items will be in the multi-language array format. (Which items are multilanguaged might change from image to image.)
 * : If specified and non-empty, only these keys will be returned for prop=extmetadata
 * The thumb parameter string. Allows user to optionally specify other parameters than width and height (like page number for pdfs). Format of the field varies with image format. PDF uses a format like page - px (e.g. page3-140px ). Its generally the part before the filename in the url of a thumbnail.
 * Only show local images.