Page MenuHomePhabricator

FuzzyBot account is not attached to global account on many Wikimedia wikis
Closed, ResolvedPublic

Description

Not attached on wikimaniawiki.

See T141465: FuzzyBot not attached on some Wikimedia wikis how it was handled previously.

  • wikimaniawiki
  • uawikimedia
  • ruwikimedia

https://meta.wikimedia.org/wiki/Special:CentralAuth/FuzzyBot

Event Timeline

The same goes for ua.wikimedia I believe. Not even listed on Special:CentralAuth, but the account exists there as the wiki is using Translate.

Nikerabbit renamed this task from FuzzyBot account is not attached to global account on wikimaniawiki to FuzzyBot account is not attached to global account on many Wikimedia wikis.Feb 23 2022, 7:38 PM
Nikerabbit updated the task description. (Show Details)
reedy@deploy1002:~$ mwscript eval.php metawiki
> $centraluser = MediaWiki\Extension\CentralAuth\User\CentralAuthUser::getPrimaryInstanceByName( 'FuzzyBot' );
> $centraluser->addLocalName( 'wikimaniawiki' );
> $centraluser->attach( 'wikimaniawiki', 'login' );
> $centraluser->addLocalName( 'uawikimedia' );
> $centraluser->attach( 'uawikimedia', 'login' );
> $centraluser->addLocalName( 'ruwikimedia' );
> $centraluser->attach( 'ruwikimedia', 'login' );
Reedy claimed this task.

Mentioned in SAL (#wikimedia-operations) [2022-02-23T20:44:34Z] <taavi> run CentralAuthUser::importLocalNames for FuzzyBot T302399

taavi subscribed.

I ran this to import all missing rows regardless if they were manually noted here or not:

taavi@mwmaint1002 ~ $ mwscript shell.php metawiki
Psy Shell v0.11.1 (PHP 7.2.34-18+0~20210223.60+debian10~1.gbpb21322+wmf5 — cli) by Justin Hileman
>>> $caUser = MediaWiki\Extension\CentralAuth\User\CentralAuthUser::getPrimaryInstanceByName( 'FuzzyBot' );
=> MediaWiki\Extension\CentralAuth\User\CentralAuthUser {#3280
     +mStateDirty: false,
     +mHomeWiki: null,
   }
>>> $caUser->importLocalNames();
=> true

Now there are 729 attached accounts and 7 not attached:

image.png (278×1 px, 57 KB)

The attach timing on Special:CentralAuth suggests that most of those were created shortly after Reedy's manual actions.. not sure why? MW database at least on a random wiki agrees that the local accounts were created just now instead of just sitting there unattached for ages. Most of those wikis don't seem to use Translate either?

wikiadmin@10.64.16.7(knwikiquote)> select user_id, user_registration from user where user_name = 'FuzzyBot'\G
*************************** 1. row ***************************
          user_id: 1863
user_registration: 20220223203957
1 row in set (0.001 sec)
In T302399#7733534, @Majavah wrote:

The attach timing on Special:CentralAuth suggests that most of those were created shortly after Reedy's manual actions.. not sure why?

Reedy told me he created those.. that explains that mystery. Looks like someone attached those 7 accounts, (re)closing.