Extension:BlockOpenProxies

addProxies is a MediaWiki script that creates a proxy table and adds to it a list of IP addresses from a CSV file.

LocalSettings.php
Add to LocalSettings.php:

Hack User.php
Also hack User.php by adding this hook:

Schema
mysql> describe proxies; ++--+--+-+-++ ++--+--+-+-++ ++--+--+-+-++ 2 rows in set (0.00 sec)
 * Field | Type             | Null | Key | Default | Extra          |
 * prx_id | int(10) unsigned | NO  | PRI | NULL    | auto_increment |
 * prx_ip | varchar(255)    | NO   |     | NULL    |                |