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/ApiActionPermission.md.
  • 中文
  • Interface: ApiActionPermission

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

    One permission-check failure reported under intestactionsdetail=full|quick. The text-bearing keys depend on the request's errorformat: text for plaintext/wikitext, html for html, key/params for raw, and none of them for none. A request using the default (bc) format is rendered as plaintext here.

    Properties

    code

    code: string

    Defined in: core/query/info.ts:46

    Machine-readable code, e.g. sitejsprotected.


    html?

    optional html?: string

    Defined in: core/query/info.ts:52

    Parsed message HTML (html).


    key?

    optional key?: string

    Defined in: core/query/info.ts:55

    i18n message key (raw).


    params?

    optional params?: ApiMessageParam[]

    Defined in: core/query/info.ts:58

    i18n message parameters (raw).


    text?

    optional text?: string

    Defined in: core/query/info.ts:49

    Rendered message text (plaintext/wikitext).