Manual:$wgSysopRangeBans

Details
Allow sysops to ban IP ranges

To disable rangeblocking in later versions of MediaWiki, add the following to your :