Manual:ipblocks_restrictions table
Jump to navigation
Jump to search
↑ Manual:Contents | MediaWiki database layout | ipblocks_restrictions table |
The ipblocks_restrictions table stores restrictions related to Blocks .
Fields[edit]
ir_ipb_id[edit]
MediaWiki version: | ≥ 1.32 |
The ipb_id of the block this restriction relates to.
ir_type[edit]
MediaWiki version: | ≥ 1.32 |
The Type of the Block.
- 1 = Page
- 2 = Namespace
ir_value[edit]
MediaWiki version: | ≥ 1.32 |
The value of the block restriction. For pages this is a page_id for Namespaces, this is a namespace id found in config.
Schema summary[edit]
MediaWiki version: | ≥ 1.36 |
DESCRIBE ipblocks_restrictions;
+-----------+------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------+------------+------+-----+---------+-------+ | ir_ipb_id | int(11) | NO | PRI | NULL | | | ir_type | tinyint(4) | NO | PRI | NULL | | | ir_value | int(11) | NO | PRI | NULL | | +-----------+------------+------+-----+---------+-------+
MediaWiki versions: | 1.32 – 1.35 |
DESCRIBE ipblocks_restrictions;
+-----------+------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------+------------+------+-----+---------+-------+ | ir_ipb_id | int(11) | NO | PRI | NULL | | | ir_type | tinyint(1) | NO | PRI | NULL | | | ir_value | int(11) | NO | PRI | NULL | | +-----------+------------+------+-----+---------+-------+