MediaWiki extensions manual
OOjs UI icon advanced-invert.svg
Release status: unmaintained
Description Blocks open proxies
Author(s) Nathan Larson (Leucostictetalk)
Latest version 1.0.1
MediaWiki 1.23+
Database changes No
Tables proxy
License GNU General Public License 2.0 only

Check usage and version matrix.

BlockOpenProxies is a MediaWiki extension that blocks open proxies. It contains a MediaWiki script, addProxies.php, that creates a proxy table and adds to it a list of IP addresses from a CSV file. (TODO: The table should be added by update.php, not by addProxies.php.) (TODO: It's pointless to run this (possibly expensive) query except when the user is trying to edit.)


  • Download and place the file(s) in a directory called BlockOpenProxies in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/BlockOpenProxies/BlockOpenProxies.php";
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


Download bannedips.zip from http://www.stopforumspam.com/downloads and unzip it to the maintenance directory. Also put addProxies.php in the maintenance directory. Go to the command line, and do

$ php addProxies.php --file=bannedips.csv


Option/Parameter Required? Description
--delete-existing No Clear the proxy table of all existing proxies before adding the new ones
--file Yes Filename

See alsoEdit