| Access: $wgBlockCIDRLimit | |
|---|---|
| Maximum CIDR range when blocking an IP range. | |
| Introduced in version: | 1.16.0 (r58377) | 
| Removed in version: | still in use | 
| Allowed values: | (positive integer) | 
| Default value: | (see below) | 
| Other settings: Alphabetical | By function | |
Details
Maximum CIDR range when blocking an IP range.
Default values
| MediaWiki version: | ≥ 1.20 | 
MediaWiki 1.20wmf4 and later: (See gerrit:11259 and gerrit:11260)
$wgBlockCIDRLimit = [
	'IPv4' => 16, # <translate nowrap><!--T:15--> Blocks larger than a /16 (64k addresses) will not be allowed</translate>
	'IPv6' => 19,
];
| MediaWiki versions: |  1.16 – 1.19 | 
Before MediaWiki 1.20wmf4:
$wgBlockCIDRLimit = array(
       'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
       'IPv6' => 64, # <translate nowrap><!--T:7--> 2^64 = ~1.8x10^19 addresses</translate>
);
This setting does not control Extension:GlobalBlocking, which has its own configuration setting.
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.