On 11/22/06, werdna@svn.wikimedia.org werdna@svn.wikimedia.org wrote:
Revision: 17847 Author: werdna Date: 2006-11-22 03:51:49 -0800 (Wed, 22 Nov 2006)
Log Message:
- (bug 7883) Added autoblock whitelisting feature, using which specific ranges can be protected from autoblocking. These ranges are specified, in list format, in the autoblock_whitelist system message.
. . .
function doAutoblock( $autoblockip ) {
. . .
$ip = wfGetIp();
. . .
# Is the IP in this range?
if (wfIsAddressInRange( $ip, $wlEntry )) {
Um, I'm pretty tired, but shouldn't you be checking against $autoblockip, not wfGetIp()? The IP of the current request is going to be the blocker, at least on retroactive autoblocks.
wikitech-l@lists.wikimedia.org