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/ApiRevisionSlot.md.
  • English
  • Interface: ApiRevisionSlot

    Defined in: core/query/revisions.ts:16

    One content slot of a revision (a revision may have multiple named slots).

    Properties

    badcontentformat?

    optional badcontentformat?: true

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

    The requested content format is not supported by this slot's model. rvprop=content; a Flag.


    content?

    optional content?: string

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

    Slot body. rvprop=content. Absent when the text is suppressed (see ApiRevisionSlot.texthidden) or not requested.


    contentformat?

    optional contentformat?: ContentFormat

    Defined in: core/query/revisions.ts:21

    Serialization format of this slot, e.g. text/x-wiki. rvprop=content.


    contentmodel?

    optional contentmodel?: ContentModel

    Defined in: core/query/revisions.ts:18

    Content model of this slot, e.g. wikitext. rvprop=contentmodel.


    missing?

    optional missing?: true

    Defined in: core/query/revisions.ts:36

    The slot could not be read for this revision; a Flag.


    nosuchsection?

    optional nosuchsection?: true

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

    The requested rvsection does not exist in this slot; a Flag. Without rvslots= the same condition surfaces as a nosuchsection API error instead.


    sha1?

    optional sha1?: string

    Defined in: core/query/revisions.ts:27

    Slot content checksum (hex). rvprop=slotsha1. May be empty ('').


    sha1hidden?

    optional sha1hidden?: true

    Defined in: core/query/revisions.ts:33

    The slot checksum is hidden (revision-deleted). rvprop=slotsha1; a Flag.


    size?

    optional size?: number

    Defined in: core/query/revisions.ts:24

    Slot size in bytes. rvprop=slotsize.


    texthidden?

    optional texthidden?: true

    Defined in: core/query/revisions.ts:30

    The slot content is hidden (revision-deleted). rvprop=content; a Flag.


    textmissing?

    optional textmissing?: true

    Defined in: core/query/revisions.ts:39

    The slot has no content to return (e.g. deleted text); a Flag.