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

    Defined in: core/expandtemplates.ts:36

    The expandtemplates object of a successful response.

    Properties

    categories?

    optional categories?: ApiExpandTemplatesCategory[]

    Defined in: core/expandtemplates.ts:53

    Categories the output would add. prop=categories; absent when the output adds none.


    encodedjsconfigvars?

    optional encodedjsconfigvars?: string

    Defined in: core/expandtemplates.ts:68

    The JS config variables serialized as a JSON string. prop=encodedjsconfigvars.


    jsconfigvars?

    optional jsconfigvars?: unknown

    Defined in: core/expandtemplates.ts:65

    Parser-magic JS config variables. prop=jsconfigvars.


    modules?

    optional modules?: string[]

    Defined in: core/expandtemplates.ts:56

    ResourceLoader modules the output depends on. prop=modules.


    modulescripts?

    optional modulescripts?: never[]

    Defined in: core/expandtemplates.ts:59

    Always empty; deprecated. Emitted with prop=modules.


    modulestyles?

    optional modulestyles?: string[]

    Defined in: core/expandtemplates.ts:62

    ResourceLoader module styles the output depends on. prop=modules.


    parsetree?

    optional parsetree?: string

    Defined in: core/expandtemplates.ts:41

    XML parse tree of the input wikitext. prop=parsetree.


    properties?

    optional properties?: ApiExpandTemplatesProperties

    Defined in: core/expandtemplates.ts:50

    Page settings parsed from the output. prop=properties.


    ttl?

    optional ttl?: number

    Defined in: core/expandtemplates.ts:47

    Cache TTL in seconds; prop=ttl, present only when the frame carries one.


    volatile?

    optional volatile?: boolean

    Defined in: core/expandtemplates.ts:44

    Whether the result varies per-user / request. prop=volatile; a real boolean.


    wikitext?

    optional wikitext?: string

    Defined in: core/expandtemplates.ts:38

    The expanded wikitext. prop=wikitext.