Page MenuHomePhabricator

Accounts aren't getting listed using migratePass0.php
Closed, InvalidPublic

Description

I created a wiki family using the following test settings:

http://rafb.net/p/JICuAZ14.html

Then I tried to merge the only accounts (one default bureaucrat account on each wiki which is created upon installation of MediaWiki) which had the same username on both wikis. I ran migratePass0.php, but it only added "one" of the accounts (that on my enwiki) to centralauth database (localnames table).

It seems like migratePass0.php has to be run for each and every wiki in the wiki family once. There is no standard way to do this though.


Version: unspecified
Severity: enhancement

Details

Reference
bz15800

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:20 PM
bzimport set Reference to bz15800.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to Huji from comment #0)

I created a wiki family using the following test settings:
http://rafb.net/p/JICuAZ14.html

Not sure how relevant it's here, but cannot access that anymore:

$:andre\> wget http://rafb.net/p/JICuAZ14.html
--2014-08-10 22:53:30-- http://rafb.net/p/JICuAZ14.html
Resolving rafb.net (rafb.net)... 204.9.177.195
Connecting to rafb.net (rafb.net)|204.9.177.195|:80... failed: Connection timed out.

https://git.wikimedia.org/history/mediawiki%2Fextensions%2FCentralAuth.git/HEAD/maintenance%2FmigratePass0.php doesn't list many changes but only goes back to 2011 so not sure if some behavior was changed before already.

Hence wondering if still valid.

(In reply to Huji from comment #0)

It seems like migratePass0.php has to be run for each and every wiki in the
wiki family once. There is no standard way to do this though.

Yup. On wmf wikis we use the "foreachwiki" script.

MarcoAurelio raised the priority of this task from Low to High.May 5 2015, 6:15 PM
MarcoAurelio moved this task from Backlog to Done on the MediaWiki-extensions-CentralAuth board.