Manual:$wgBlockCIDRLimit

Details
Maximum CIDR range when blocking an IP range.

Default values
Before MediaWiki 1.20wmf4:

MediaWiki 1.20wmf4 and later:

(See 11259 and 11260)