Manual:$wgBadRanges/zh

From Linux Web Expert

<translate> Language, regional and character encoding settings</translate>: $wgBadRanges
An array of arrays of IP addresses that each value in $wgBadUserAgents apply to.
<translate> Introduced in version:</translate>pre 1.1.0
<translate> Removed in version:</translate>1.2.0 (r2473)
<translate> Allowed values:</translate><translate> Unspecified</translate>
<translate> Default value:</translate>false

细节

用户代理/范围阻止。 Blocks all users using a particular user agent, possibly restricted to a set of IP ranges.

This setting holds an array of arrays of IP addresses that each value in $wgBadUserAgents apply to.

例如: array( array( '1.2.3.0', '1.2.3.255' ) )

参见