Interface: ApiTagEntry
Defined in: core/tag.ts:17
One targeted entry of an action=tag response.
Properties
actionlogid?
optionalactionlogid?:number
Defined in: core/tag.ts:38
Log entry id recorded for the tagging (absent when ApiTagEntry.noop).
added?
optionaladded?:string[]
Defined in: core/tag.ts:41
Tags added to this target.
blockinfo?
optionalblockinfo?: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?
optionalcode?: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?
optionaldata?: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?
optionalblockinfo?:ApiBlockInfo
errors?
optionalerrors?: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?
optionalhtml?:string
Defined in: core/tag.ts:65
Parsed message HTML (html).
info?
optionalinfo?:string
Defined in: core/tag.ts:59
Message text under the default (bc) errorformat.
key?
optionalkey?:string
Defined in: core/tag.ts:68
i18n message key (raw).
logid?
optionallogid?:number
Defined in: core/tag.ts:22
Log id the tags were applied to.
noop?
optionalnoop?:true
Defined in: core/tag.ts:35
The tag set already matched — no log entry was created. A Flag.
params?
optionalparams?:ApiMessageParam[]
Defined in: core/tag.ts:71
i18n message parameters (raw).
rcid?
optionalrcid?:number
Defined in: core/tag.ts:25
Recent-change id the tags were applied to.
removed?
optionalremoved?:string[]
Defined in: core/tag.ts:44
Tags removed from this target.
revid?
optionalrevid?: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?
optionaltext?:string
Defined in: core/tag.ts:62
Rendered message text (plaintext/wikitext).