For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/zh/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/zh/llms-full.txt, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/zh/api/core/ApiFileArchiveEntry.md.
  • 中文
  • 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?

    optional archivename?: 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?

    optional bitdepth?: string

    Defined in: core/query/filearchive.ts:91

    Colour depth in bits, as a string. faprop=bitdepth; same visibility gate as mime.


    commenthidden?

    optional commenthidden?: true

    Defined in: core/query/shared.ts:28

    The comment is hidden. A Flag.

    Inherited from

    ApiHiddenFlags.commenthidden


    description?

    optional description?: string

    Defined in: core/query/filearchive.ts:52

    Raw upload description (the file page's text). faprop=description.


    filehidden?

    optional filehidden?: true

    Defined in: core/query/filearchive.ts:100

    The file itself is hidden. A Flag.


    filemissing?

    optional filemissing?: true

    Defined in: core/query/filearchive.ts:49

    The file's stored content is missing. A Flag.


    height?

    optional height?: 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?

    optional mediatype?: string

    Defined in: core/query/filearchive.ts:85

    MediaWiki media bucket, e.g. BITMAP. faprop=mediatype.


    metadata?

    optional metadata?: ApiImageMetadataItem[] | null

    Defined in: core/query/filearchive.ts:97

    Raw format metadata (EXIF / PNG chunks / …). faprop=metadata; null when the row carries none.


    mime?

    optional mime?: 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?

    optional pagecount?: 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?

    optional parseddescription?: string

    Defined in: core/query/filearchive.ts:55

    HTML-rendered upload description. faprop=parseddescription.


    sha1?

    optional sha1?: string

    Defined in: core/query/filearchive.ts:76

    Content checksum (hex). faprop=sha1.


    size?

    optional size?: string

    Defined in: core/query/filearchive.ts:61

    File size in bytes, as a string. Emitted with either faprop=size or faprop=dimensions.


    suppressed?

    optional suppressed?: true

    Defined in: core/query/shared.ts:34

    Oversight/suppression applies to the entry (set together with the *hidden flags). A Flag.

    Inherited from

    ApiHiddenFlags.suppressed


    timestamp?

    optional timestamp?: 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?

    optional user?: string

    Defined in: core/query/filearchive.ts:43

    Uploader name. faprop=user.


    userhidden?

    optional userhidden?: true

    Defined in: core/query/shared.ts:25

    The acting user is hidden. A Flag.

    Inherited from

    ApiHiddenFlags.userhidden


    userid?

    optional userid?: number

    Defined in: core/query/filearchive.ts:46

    Uploader id. faprop=user.


    width?

    optional width?: string

    Defined in: core/query/filearchive.ts:73

    Pixel width, as a string. Emitted with either faprop=size or faprop=dimensions.