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/ApiTagEntry.md.
  • 中文
  • Interface: ApiTagEntry

    Defined in: core/tag.ts:17

    One targeted entry of an action=tag response.

    Properties

    actionlogid?

    optional actionlogid?: number

    Defined in: core/tag.ts:38

    Log entry id recorded for the tagging (absent when ApiTagEntry.noop).


    added?

    optional added?: string[]

    Defined in: core/tag.ts:41

    Tags added to this target.


    blockinfo?

    optional blockinfo?: ApiBlockInfo

    Defined in: core/tag.ts:84

    Block details, when the performer is blocked from the target page. Under the default (bc) errorformat it is merged into the entry itself; a modern one nests it under ApiTagEntry.data.


    code?

    optional code?: string

    Defined in: core/tag.ts:56

    On error entries the formatted failure message is merged into the entry: code is the message's API code, and the text-bearing keys follow the request's errorformat — info under the default (bc) format, text (plaintext/wikitext), html, key/params (raw), or none of them for none.


    data?

    optional data?: object

    Defined in: core/tag.ts:77

    Structured message data, present under a modern errorformat (the default bc format merges it into the entry instead).

    Index Signature

    [key: string]: unknown

    blockinfo?

    optional blockinfo?: ApiBlockInfo


    errors?

    optional errors?: ApiMessage[] | ApiSpecMessage[]

    Defined in: core/tag.ts:47

    In-band messages when the target could not be tagged (failure only), shaped per the request's errorformat.


    html?

    optional html?: string

    Defined in: core/tag.ts:65

    Parsed message HTML (html).


    info?

    optional info?: string

    Defined in: core/tag.ts:59

    Message text under the default (bc) errorformat.


    key?

    optional key?: string

    Defined in: core/tag.ts:68

    i18n message key (raw).


    logid?

    optional logid?: number

    Defined in: core/tag.ts:22

    Log id the tags were applied to.


    noop?

    optional noop?: true

    Defined in: core/tag.ts:35

    The tag set already matched — no log entry was created. A Flag.


    params?

    optional params?: ApiMessageParam[]

    Defined in: core/tag.ts:71

    i18n message parameters (raw).


    rcid?

    optional rcid?: number

    Defined in: core/tag.ts:25

    Recent-change id the tags were applied to.


    removed?

    optional removed?: string[]

    Defined in: core/tag.ts:44

    Tags removed from this target.


    revid?

    optional revid?: number

    Defined in: core/tag.ts:19

    Revision id the tags were applied to.


    status

    status: string & object | "error" | "success" | "failure" | "skipped"

    Defined in: core/tag.ts:32

    Per-target outcome: success, failure, skipped (rate throttle) or error (invalid target id, or the performer is blocked from the target page). Open union for forward compat.


    text?

    optional text?: string

    Defined in: core/tag.ts:62

    Rendered message text (plaintext/wikitext).