Extension:MWBlocker
From MediaWiki.org
|
MWBlocker Release status: unstable |
|
|---|---|
| Description | Obsolete tool hooking in with a proxy-blocker |
| Author(s) | Brion Vibber (Brion VIBBERTalk) |
| License | GPL |
| Download |
Download snapshot (Git master)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes |
|
Check usage (experimental) |
|
|
|
This extension is obsolete! You are advised against using this extension on a live site. |
[edit] What this extension does
Tool to hook in with an obsolete proxy-blocker, used briefly by the Wikimedia Foundation circa 2005 until early 2006. IP addresses of editors would be sent to a daemon process which would queue up open-proxy checks, then write IP addresses of hits to a log file which could be loaded into $wgProxyList in your LocalSettings.php
The actual proxy checker tool code was written in Boo (Mono-based Python-like language) and is floating in SVN should anybody want to pick it up.
[edit] Installation
To install this extension, add the following to LocalSettings.php:
require_once("$IP/extensions/MWBlocker/MWBlocker.php");
Configure the location of the daemon & debug settings if necessary:
$mwBlockerHost = 'localhost'; $mwBlockerPort = 8126; $mwBlockerDebug = false;
And set up to load the list:
##$wgProxyList = array_flip( array_map( 'trim', file( 'udp://10.0.5.8:8420/mwblocker' ) ) ); $wgProxyList = "$IP/wmf-config/mwblocker.log";