Interface: ApiPageProtection
Defined in: core/query/info.ts:13
One entry of a page's protection array (inprop=protection).
Properties
cascade?
optionalcascade?: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?
optionalsource?: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.