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

    Defined in: core/query/siteinfo.ts:461

    siprop=extensions: one installed extension or skin. Keys other than type appear only when the component's extension.json declares them.

    Properties

    author?

    optional author?: string

    Defined in: core/query/siteinfo.ts:499

    Authors, joined with , (links are embedded as URLs).


    credits?

    optional credits?: string

    Defined in: core/query/siteinfo.ts:529

    URL of Special:Version/Credits/<name>.


    description?

    optional description?: string

    Defined in: core/query/siteinfo.ts:490

    Literal description, when configured.


    descriptionmsg?

    optional descriptionmsg?: string

    Defined in: core/query/siteinfo.ts:493

    Message key holding the description.


    descriptionmsgparams?

    optional descriptionmsgparams?: string[]

    Defined in: core/query/siteinfo.ts:496

    Parameters for descriptionmsg.


    license?

    optional license?: string

    Defined in: core/query/siteinfo.ts:526

    URL of Special:Version/License/<name>.


    license-name?

    optional license-name?: string

    Defined in: core/query/siteinfo.ts:523

    License identifier from extension.json.


    name?

    optional name?: string

    Defined in: core/query/siteinfo.ts:484

    Display name.


    namemsg?

    optional namemsg?: string

    Defined in: core/query/siteinfo.ts:487

    Message key holding the name.


    type

    type: string & object | "specialpage" | "editor" | "wikifamily" | "parserhook" | "variable" | "media" | "antispam" | "skin" | "api" | "other"

    Defined in: core/query/siteinfo.ts:470

    Component class. The names MediaWiki has display labels for are specialpage, editor, wikifamily, parserhook, variable, media, antispam, skin, api and other, but the value is never validated against them: a component declares its own type in extension.json, $wgExtensionCredits entries pass through as written, and the ExtensionTypes hook can add further names — open union.


    url?

    optional url?: string

    Defined in: core/query/siteinfo.ts:502

    Project URL.


    vcs-date?

    optional vcs-date?: string

    Defined in: core/query/siteinfo.ts:520

    VCS commit date of the checkout.


    vcs-system?

    optional vcs-system?: string

    Defined in: core/query/siteinfo.ts:508

    VCS system, e.g. git; only for checkout-installed components.


    vcs-url?

    optional vcs-url?: string | false

    Defined in: core/query/siteinfo.ts:517

    VCS URL of the checkout; false when the repository has no viewable remote URL.


    vcs-version?

    optional vcs-version?: string

    Defined in: core/query/siteinfo.ts:511

    VCS commit of the checkout.


    version?

    optional version?: string

    Defined in: core/query/siteinfo.ts:505

    Declared version.