Manual:$wgBlockCIDRLimit

Details
Maximum CIDR range when blocking an IP range.

Default values
MediaWiki 1.20wmf4 and later:

(See 11259 and 11260)

Before MediaWiki 1.20wmf4: