Interface: ApiTag
Defined in: core/query/tags.ts:11
One change-tag definition. tgprop selects the optional fields.
Properties
active?
optionalactive?:boolean
Defined in: core/query/tags.ts:36
Whether the tag is still applicable. tgprop=active; a real boolean.
defined?
optionaldefined?:boolean
Defined in: core/query/tags.ts:25
Whether the tag has a definition page. tgprop=defined; a real boolean.
description?
optionaldescription?:string
Defined in: core/query/tags.ts:19
Description (wikitext). tgprop=description.
displayname?
optionaldisplayname?:string
Defined in: core/query/tags.ts:16
Human-readable display name (may contain HTML). tgprop=displayname.
hitcount?
optionalhitcount?:number
Defined in: core/query/tags.ts:22
Number of revisions/logs carrying this tag. tgprop=hitcount.
name
name:
string
Defined in: core/query/tags.ts:13
Internal tag name (used by rcprop=tags / revision tags).
source?
optionalsource?: ("extension"|"manual"|"software")[]
Defined in: core/query/tags.ts:33
Where the tag can come from. tgprop=source: software for a tag defined
in code, manual for one with a definition page, and extension as a
backwards-compatibility entry emitted alongside software. Emitted as a
list — a tag with no source serializes as [].