Talk:Autoblock

From MediaWiki.org
Jump to: navigation, search

Error?[edit]

The example says:

3. The MediaWiki software, detecting the use of the IP by Steven, and assuming it to be Bort, issues a 24 hour block on Steven, in admin Susan's name. Susan is not notified of the block.

But this won't happen, because autoblocks only 'spread' for anonymous users. See function spreadBlock() in User.php:

function spreadBlock()
{
       global $wgIP;
       # If the (non-anonymous) user is blocked, this function will block any IP address
       # that they successfully log on from.
       $fname = "User::spreadBlock";
		
       wfDebug( "User:spreadBlock()\n" );
       if ( $this->mId == 0 ) {
  	     return;  # <---- Not logged in, no autoblock
       }

       #  ...

Am I missing something? MrBlueSky 21:11, 11 May 2011 (UTC)

Help: or Manual: namespace?[edit]

Shouldn't this go in the Help: or Manual: namespace? I'm thinking the tone makes it more suitable for the former, except that there might be some copyright issues. Maybe Project: space, or perhaps meta, if we want to make it a page about autoblocking on this or other Wikimedia projects. Leucosticte (talk) 10:55, 19 August 2012 (UTC)