Manual:$wgBlockCIDRLimit/da

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgBlockCIDRLimit and the translation is 14% complete.
Adgang: $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)

Details

Maximum CIDR range when blocking an IP range.

Default values

MediaWiki-version:
1.20

MediaWiki 1.20wmf4 og derefter: (Se gerrit:11259 og gerrit:11260)

$wgBlockCIDRLimit = [
	'IPv4' => 16, # Blocks larger than a /16 (64k addresses) will not be allowed
	'IPv6' => 19,
];
MediaWiki-versioner:
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, # 2^64 = ~1.8x10^19 addresses
);
This setting does not control Extension:GlobalBlocking . Regardless of this setting, GlobalBlocking can block IPv4 ranges up to /16 only, but has no limit on IPv6 range sizes (task T46836).