Interface: ApiBlockRestrictions
Defined in: core/query/blocks.ts:11
Restriction targets of a partial block, grouped by kind.
Properties
actions?
optionalactions?:string[]
Defined in: core/query/blocks.ts:28
Restricted actions; only on action-type entries. Before MediaWiki 1.45 these require $wgEnablePartialActionBlocks.
namespaces?
optionalnamespaces?:number[]
Defined in: core/query/blocks.ts:25
Restricted namespace ids.
pages?
optionalpages?:object[]
Defined in: core/query/blocks.ts:13
Restricted pages.
id
id:
number
Page id.
ns?
optionalns?:number
Namespace index of the restricted page.
title?
optionaltitle?:string
Full title of the restricted page.