Extension:BlockOpenProxies
Jump to navigation
Jump to search
![]() | This extension is currently not actively maintained! Although it may still work, any bug reports or feature requests will more than likely be ignored. |
BlockOpenProxies 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 |
Download | GitHub: Note: |
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.)
Installation[edit]
- Download and place the file(s) in a directory called
BlockOpenProxies
in yourextensions/
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.
Usage[edit]
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
Parameters[edit]
Option/Parameter | Required? | Description |
---|---|---|
--delete-existing | No | Clear the proxy table of all existing proxies before adding the new ones |
--file | Yes | Filename |
See also[edit]
- http://www.stopforumspam.com/downloads — Daily-updated CSV files of open proxy IP addresses
- Extension:StopForumSpam