Interface: ApiExpandTemplatesResult
Defined in: core/expandtemplates.ts:36
The expandtemplates object of a successful response.
Properties
categories?
optionalcategories?:ApiExpandTemplatesCategory[]
Defined in: core/expandtemplates.ts:53
Categories the output would add. prop=categories; absent when the output adds none.
encodedjsconfigvars?
optionalencodedjsconfigvars?:string
Defined in: core/expandtemplates.ts:68
The JS config variables serialized as a JSON string. prop=encodedjsconfigvars.
jsconfigvars?
optionaljsconfigvars?:unknown
Defined in: core/expandtemplates.ts:65
Parser-magic JS config variables. prop=jsconfigvars.
modules?
optionalmodules?:string[]
Defined in: core/expandtemplates.ts:56
ResourceLoader modules the output depends on. prop=modules.
modulescripts?
optionalmodulescripts?:never[]
Defined in: core/expandtemplates.ts:59
Always empty; deprecated. Emitted with prop=modules.
modulestyles?
optionalmodulestyles?:string[]
Defined in: core/expandtemplates.ts:62
ResourceLoader module styles the output depends on. prop=modules.
parsetree?
optionalparsetree?:string
Defined in: core/expandtemplates.ts:41
XML parse tree of the input wikitext. prop=parsetree.
properties?
optionalproperties?:ApiExpandTemplatesProperties
Defined in: core/expandtemplates.ts:50
Page settings parsed from the output. prop=properties.
ttl?
optionalttl?:number
Defined in: core/expandtemplates.ts:47
Cache TTL in seconds; prop=ttl, present only when the frame carries one.
volatile?
optionalvolatile?:boolean
Defined in: core/expandtemplates.ts:44
Whether the result varies per-user / request. prop=volatile; a real boolean.
wikitext?
optionalwikitext?:string
Defined in: core/expandtemplates.ts:38
The expanded wikitext. prop=wikitext.