For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/llms-full.txt, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/api/core/ApiUploadImageinfo.md.
  • English
  • Interface: ApiUploadImageinfo

    Defined in: core/upload.ts:40

    The embedded imageinfo of an action=upload result, for the uploaded revision.

    Properties

    bitdepth?

    optional bitdepth?: number

    Defined in: core/upload.ts:75

    Color bit depth, for images that report one.


    canonicaltitle?

    optional canonicaltitle?: string

    Defined in: core/upload.ts:78

    Canonical localized file title.


    comment?

    optional comment?: string

    Defined in: core/upload.ts:51

    Raw upload comment.


    commonmetadata?

    optional commonmetadata?: ApiUploadMetadataItem[]

    Defined in: core/upload.ts:93

    Metadata shared across the file's revisions.


    descriptionurl?

    optional descriptionurl?: string

    Defined in: core/upload.ts:84

    URL of the file description page.


    extmetadata?

    optional extmetadata?: Record<string, ApiUploadExtMetadataField>

    Defined in: core/upload.ts:96

    Extended metadata (EXIF and similar), keyed by field name.


    height?

    optional height?: number

    Defined in: core/upload.ts:63

    Height in pixels; 0 for files without dimensions (e.g. audio).


    html?

    optional html?: string

    Defined in: core/upload.ts:87

    Exists-warning HTML from Special:Upload (iiprop=uploadwarning).


    mediatype?

    optional mediatype?: string

    Defined in: core/upload.ts:72

    MediaWiki media type classification.


    metadata?

    optional metadata?: ApiUploadMetadataItem[]

    Defined in: core/upload.ts:90

    Per-file metadata as { name, value } entries.


    mime?

    optional mime?: string

    Defined in: core/upload.ts:69

    Detected MIME type.


    parsedcomment?

    optional parsedcomment?: string

    Defined in: core/upload.ts:54

    HTML-rendered upload comment.


    sha1?

    optional sha1?: string

    Defined in: core/upload.ts:66

    SHA-1 of the file contents.


    size?

    optional size?: number

    Defined in: core/upload.ts:57

    File size in bytes.


    timestamp?

    optional timestamp?: string

    Defined in: core/upload.ts:42

    Upload timestamp of the new file.


    url?

    optional url?: string

    Defined in: core/upload.ts:81

    Direct URL to the file.


    user?

    optional user?: string

    Defined in: core/upload.ts:45

    Uploader user name.


    userid?

    optional userid?: number

    Defined in: core/upload.ts:48

    Uploader user id.


    width?

    optional width?: number

    Defined in: core/upload.ts:60

    Width in pixels; 0 for files without dimensions (e.g. audio).