Interface: ApiFileArchiveEntry
Defined in: core/query/filearchive.ts:20
One archived file. faprop selects the optional fields; id, name, ns
and title are emitted regardless of faprop.
Extends
Properties
archivename?
optionalarchivename?:string
Defined in: core/query/filearchive.ts:37
Stored name of a superseded version. Only on an archived old version —
absent for the newest stored file, even with faprop=archivename.
bitdepth?
optionalbitdepth?:string
Defined in: core/query/filearchive.ts:91
Colour depth in bits, as a string. faprop=bitdepth; same visibility gate
as mime.
commenthidden?
optionalcommenthidden?:true
Defined in: core/query/shared.ts:28
The comment is hidden. A Flag.
Inherited from
description?
optionaldescription?:string
Defined in: core/query/filearchive.ts:52
Raw upload description (the file page's text). faprop=description.
filehidden?
optionalfilehidden?:true
Defined in: core/query/filearchive.ts:100
The file itself is hidden. A Flag.
filemissing?
optionalfilemissing?:true
Defined in: core/query/filearchive.ts:49
The file's stored content is missing. A Flag.
height?
optionalheight?:string
Defined in: core/query/filearchive.ts:70
Pixel height, as a string. Emitted with either faprop=size or faprop=dimensions.
id
id:
number
Defined in: core/query/filearchive.ts:22
filearchive row id.
mediatype?
optionalmediatype?:string
Defined in: core/query/filearchive.ts:85
MediaWiki media bucket, e.g. BITMAP. faprop=mediatype.
metadata?
optionalmetadata?:ApiImageMetadataItem[] |null
Defined in: core/query/filearchive.ts:97
Raw format metadata (EXIF / PNG chunks / …). faprop=metadata; null when the
row carries none.
mime?
optionalmime?:string
Defined in: core/query/filearchive.ts:82
MIME type, e.g. image/png. faprop=mime; requires the file content to be
visible to the requester (revision-delete bitfield) and present.
name
name:
string
Defined in: core/query/filearchive.ts:25
File name with underscores, without the File: prefix.
ns
ns:
number
Defined in: core/query/filearchive.ts:28
Namespace the file page lived in (always the File namespace).
pagecount?
optionalpagecount?:number
Defined in: core/query/filearchive.ts:67
Number of pages, for multi-page formats; absent for formats without pages.
Emitted with either faprop=size or faprop=dimensions.
parseddescription?
optionalparseddescription?:string
Defined in: core/query/filearchive.ts:55
HTML-rendered upload description. faprop=parseddescription.
sha1?
optionalsha1?:string
Defined in: core/query/filearchive.ts:76
Content checksum (hex). faprop=sha1.
size?
optionalsize?:string
Defined in: core/query/filearchive.ts:61
File size in bytes, as a string. Emitted with either faprop=size or
faprop=dimensions.
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
timestamp?
optionaltimestamp?:string
Defined in: core/query/filearchive.ts:40
Upload timestamp. faprop=timestamp.
title
title:
string
Defined in: core/query/filearchive.ts:31
Full file page title.
user?
optionaluser?:string
Defined in: core/query/filearchive.ts:43
Uploader name. faprop=user.
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/filearchive.ts:46
Uploader id. faprop=user.
width?
optionalwidth?:string
Defined in: core/query/filearchive.ts:73
Pixel width, as a string. Emitted with either faprop=size or faprop=dimensions.