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

    Defined in: core/protect.ts:16

    One applied protection (type → level, plus expiry).

    Indexable

    [type: string]: string | undefined

    Extension-provided restriction types are carried through as string levels.

    Properties

    create?

    optional create?: string

    Defined in: core/protect.ts:24

    Create-protection level, when the create restriction is set.


    edit?

    optional edit?: string

    Defined in: core/protect.ts:18

    Edit-protection level (right/group name), when the edit restriction is set.


    expiry

    expiry: string

    Defined in: core/protect.ts:30

    Expiry for this restriction, or infinite.


    move?

    optional move?: string

    Defined in: core/protect.ts:21

    Move-protection level, when the move restriction is set.


    upload?

    optional upload?: string

    Defined in: core/protect.ts:27

    Upload-protection level, when the upload restriction is set.