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

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

    One entry of a page's protection array (inprop=protection).

    Properties

    cascade?

    optional cascade?: true

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

    Whether this restriction cascades to transcluded pages. Appears only when the page has cascade=true set (see action=protect), and is a Flag.


    expiry

    expiry: string

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

    Expiry, or infinity / infinite when permanent.


    level

    level: string

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

    Required right/group level, e.g. sysop / autoconfirmed. Empty when unrestricted.


    source?

    optional source?: string

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

    Title of the page whose protection cascades onto this one. Present only on entries inherited through cascading protection, i.e. never together with cascade on the same entry.


    type

    type: string

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

    Restriction kind, e.g. edit / move. Open union.