Mailing List Archive

Error: Blocks not working!
Okay, so after deciding that I was reaching a bit too far, we've
instituted several single-IP blocks to try to stop this anonymous
problem user from making his constant edits. However, after we set the
block with his latest IP address, he made several more edits!
Something's wrong here...

You can see for yourself:
http://memoryalpha.st-minutiae.com/en/index.php/Special:Recentchanges
-- pay attention to the Block log and the Sandbox.

(Again, I'm running MediaWiki 1.2.0...)

Dan
Re: Error: Blocks not working! [ In reply to ]
On Apr 1, 2004, at 13:10, Dan Carlson wrote:
> Okay, so after deciding that I was reaching a bit too far, we've
> instituted several single-IP blocks to try to stop this anonymous
> problem user from making his constant edits. However, after we set
> the block with his latest IP address, he made several more edits!
> Something's wrong here...

Make this change to BlockCache.php:

function load()
{
global $wgUseMemCached, $wgMemc;
if ( $this->mData === false) {
$this->mData = array();
^^^^^^^^^^^^^^^^^^^

Remove that last line! It breaks blocking on non-memcached
configurations. sigh...

-- brion vibber (brion @ pobox.com)