On Fri, May 30, 2008 at 8:37 AM, Anon Sricharoenchai <anon.hui(a)gmail.com>
wrote:
2. Currently
it seems anyone cannot combine their accounts if one of
them is blocked. I think it may cause some troubles (this year people
can vote even if they have a blocked account, if they have a valid
voting-eligible one on another wiki). Is it possible to change the
current setting and allow them to unify their accounts?
http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/CentralAuth/Cent…
in function chooseHomeWiki( $migrationSet ),
why not check for blocked account like this?,
$maxEdits = -1;
$homeWiki = null;
foreach( $workingSet as $wiki => $local ) {
if( $local['editCount'] > $maxEdits &&
!$local['blocked'])
{ # <-- added code here
$homeWiki = $wiki;
$maxEdits = $local['editCount'];
}
}
It was already done in a similar way. I changed it to disallow migration if
the user in the home wiki is blocked (no similar restrictions on the other
users seem to be set). The main problem with the previous behavior was in
the following situation: two users with the same user name want the global
name. The user with more edits is blocked for a while. Now the second user's
account is the home account, and he can merge his accounts unfairly, because
of a block which may be temporary (e.g. for 3RR). The current behavior fixes
it and doesn't allow migration when the home wiki is blocked; however,
migrating while another account (which is not the home account) is blocked
is possible. For more details and discussion, see
https://bugzilla.wikimedia.org/show_bug.cgi?id=11149 .