For AI agents: the complete documentation index is available at https://types-mediawiki-response.pages.dev/zh/llms.txt, the full documentation bundle is available at https://types-mediawiki-response.pages.dev/zh/llms-full.txt, and this page is available as Markdown at https://types-mediawiki-response.pages.dev/zh/api/core/ApiNamespaceInfo.md.
  • 中文
  • Interface: ApiNamespaceInfo

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

    One namespace entry in query.namespaces, keyed by namespace index.

    Properties

    canonical?

    optional canonical?: string

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

    Canonical name (e.g. Talk), the language-independent identifier.


    case

    case: CaseSensitivity

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

    Title case-sensitivity within the namespace.


    content

    content: boolean

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

    Whether the namespace is a content namespace. A real boolean.


    defaultcontentmodel?

    optional defaultcontentmodel?: ContentModel

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

    Default content model for the namespace, e.g. javascript. Absent for wikitext.


    id

    id: number

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

    Namespace index.


    name

    name: string

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

    Localized name for this wiki.


    namespaceprotection?

    optional namespaceprotection?: string

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

    Right required to edit this namespace, e.g. editinterface for MediaWiki:. Absent when the namespace is unrestricted. A single right, or several joined with | when the config lists more than one.


    nonincludable

    nonincludable: boolean

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

    Whether pages here are non-includable. A real boolean.


    subpages

    subpages: boolean

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

    Whether subpages are allowed. A real boolean under formatversion=2.