Interface: ApiAllImage
Defined in: core/query/allimages.ts:13
One file listed by list=allimages.
Extends
Properties
anon?
optionalanon?:true
Defined in: core/query/imageinfo.ts:237
Made by an anonymous (IP) uploader. A Flag.
Inherited from
archivename?
optionalarchivename?:string
Defined in: core/query/imageinfo.ts:231
Archive name for a historical version. iiprop=archivename.
Inherited from
bitdepth?
optionalbitdepth?:number
Defined in: core/query/imageinfo.ts:174
Color bit depth; 0 for files without dimensions (e.g. audio). iiprop=bitdepth.
Inherited from
canonicaltitle?
optionalcanonicaltitle?:string
Defined in: core/query/imageinfo.ts:110
Canonical localized file title. iiprop=canonicaltitle.
Inherited from
comment?
optionalcomment?:string
Defined in: core/query/imageinfo.ts:89
Raw upload comment. iiprop=comment.
Inherited from
commenthidden?
optionalcommenthidden?:true
Defined in: core/query/shared.ts:28
The comment is hidden. A Flag.
Inherited from
commonmetadata?
optionalcommonmetadata?:ApiImageMetadataItem[]
Defined in: core/query/imageinfo.ts:186
Metadata keys common to all file types, same item shape as metadata.
iiprop=commonmetadata; an empty PHP map, so [] when there is none.
Inherited from
descriptionshorturl?
optionaldescriptionshorturl?:string
Defined in: core/query/imageinfo.ts:119
Shortened description-page URL. iiprop=url.
Inherited from
ApiImageInfo.descriptionshorturl
descriptionurl?
optionaldescriptionurl?:string
Defined in: core/query/imageinfo.ts:116
URL of the file description page. iiprop=url.
Inherited from
duration?
optionalduration?:number
Defined in: core/query/imageinfo.ts:221
Media duration in seconds (audio/video), when the handler reports one.
Emitted under iiprop=size|dimensions; there is no iiprop=duration.
Inherited from
extmetadata?
optionalextmetadata?:Record<string,ApiExtMetadataField>
Defined in: core/query/imageinfo.ts:194
Structured/extended metadata keyed by field name. iiprop=extmetadata.
A bare MediaWiki core only produces DateTime and ObjectName here; the
richer per-file fields (GPS, licensing, …) are contributed by
GetExtendedMetadata hooks on the serving wiki (e.g. Extension:Metadata).
Inherited from
filehidden?
optionalfilehidden?:true
Defined in: core/query/imageinfo.ts:234
The file itself is hidden. A Flag.
Inherited from
filemissing?
optionalfilemissing?:true
Defined in: core/query/imageinfo.ts:215
true when the file itself does not exist on this wiki (a stub row). A Flag.
Inherited from
height?
optionalheight?:number
Defined in: core/query/imageinfo.ts:107
Height in pixels; 0 for files without dimensions (e.g. audio).
iiprop=size|dimensions.
Inherited from
html?
optionalhtml?:string
Defined in: core/query/imageinfo.ts:212
Upload-warning HTML ("a file with this name exists already…").
iiprop=uploadwarning; "" when there is nothing to warn about.
Inherited from
mediatype?
optionalmediatype?:string
Defined in: core/query/imageinfo.ts:171
Media type, e.g. BITMAP, OFFICE, ARCHIVE. iiprop=mediatype.
Inherited from
metadata?
optionalmetadata?:ApiImageMetadataItem[] |null
Defined in: core/query/imageinfo.ts:180
Raw format metadata (EXIF / PNG chunks / …). iiprop=metadata; an
explicit null when the file has no metadata at all.
Inherited from
mime?
optionalmime?:string
Defined in: core/query/imageinfo.ts:168
MIME type, e.g. image/png. iiprop=mime.
Inherited from
name
name:
string
Defined in: core/query/allimages.ts:15
File name without the File: prefix.
ns
ns:
number
Defined in: core/query/allimages.ts:18
Namespace index (the File namespace, 6).
pagecount?
optionalpagecount?:number
Defined in: core/query/imageinfo.ts:228
Page count (multi-page documents such as PDFs/TIFFs), when the handler
supports one. Emitted under iiprop=size|dimensions; there is no
iiprop=pagecount.
Inherited from
parsedcomment?
optionalparsedcomment?:string
Defined in: core/query/imageinfo.ts:92
HTML-rendered comment. iiprop=parsedcomment.
Inherited from
responsiveUrls?
optionalresponsiveUrls?:Record<string,string>
Defined in: core/query/imageinfo.ts:162
HiDPI (2x, …) source URLs keyed by pixel-density multiplier. Requires
iiprop=url, plus a successful transform.
Inherited from
sha1?
optionalsha1?:string
Defined in: core/query/imageinfo.ts:165
File SHA-1 (hex). iiprop=sha1.
Inherited from
size?
optionalsize?:number
Defined in: core/query/imageinfo.ts:95
File size in bytes. iiprop=size|dimensions.
Inherited from
suppressed?
optionalsuppressed?:true
Defined in: core/query/shared.ts:34
Oversight/suppression applies to the entry (set together with the
*hidden flags). A Flag.
Inherited from
temp?
optionaltemp?:true
Defined in: core/query/imageinfo.ts:244
The uploader is a temporary account. A Flag.
Since
MediaWiki 1.42
Inherited from
thumbattribs?
optionalthumbattribs?:Record<string,string|number>
Defined in: core/query/imageinfo.ts:146
Pre-rendered <img> attributes for the thumbnail (e.g. src, width,
srcset).
Since
MediaWiki 1.47
Inherited from
thumberror?
optionalthumberror?:string
Defined in: core/query/imageinfo.ts:206
Rendered text of the thumbnail error, when the thumbnail could not be
made. Requires iiprop=url, plus a transform.
Inherited from
thumbheight?
optionalthumbheight?:number
Defined in: core/query/imageinfo.ts:138
Scaled thumbnail height (px). Falls back to the file's own height like thumbwidth.
Inherited from
thumbmime?
optionalthumbmime?:string
Defined in: core/query/imageinfo.ts:200
MIME type the thumbnail will be rendered as. iiprop=thumbmime, which
requires iiprop=url and a transform via iiurlwidth/iiurlheight.
Inherited from
thumburl?
optionalthumburl?:string
Defined in: core/query/imageinfo.ts:125
Scaled thumbnail URL. Requires iiprop=url, plus a transform requested
via iiurlwidth, iiurlheight or iiurlparam.
Inherited from
thumburls?
optionalthumburls?:Record<string,ApiThumbUrlEntry>
Defined in: core/query/imageinfo.ts:156
Scaled thumbnail URLs at multiple widths, keyed by the produced
thumbnail's width (normally the requested width; e.g. "400", "800").
iiprop=thumburls. Each entry also folds in the transform's HTML <img>
attributes.
Since
MediaWiki 1.47
Inherited from
thumbwidth?
optionalthumbwidth?:number
Defined in: core/query/imageinfo.ts:132
Scaled thumbnail width (px). Falls back to the file's own width when the thumbnail URL equals the original URL (no resize happened). Same requirements as thumburl.
Inherited from
timestamp?
optionaltimestamp?:string
Defined in: core/query/imageinfo.ts:80
Timestamp of the file's upload/reversion. iiprop=timestamp.
Inherited from
title
title:
string
Defined in: core/query/allimages.ts:21
Full file title, e.g. File:Wiki.png.
url?
optionalurl?:string
Defined in: core/query/imageinfo.ts:113
Direct URL to the file. iiprop=url.
Inherited from
user?
optionaluser?:string
Defined in: core/query/imageinfo.ts:83
Uploader user name. iiprop=user.
Inherited from
userhidden?
optionaluserhidden?:true
Defined in: core/query/shared.ts:25
The acting user is hidden. A Flag.
Inherited from
userid?
optionaluserid?:number
Defined in: core/query/imageinfo.ts:86
Uploader user id. iiprop=userid.
Inherited from
width?
optionalwidth?:number
Defined in: core/query/imageinfo.ts:101
Width in pixels; 0 for files without dimensions (e.g. audio).
iiprop=size|dimensions.