Page MenuHomePhabricator

Globalization on login not rechecking ownership of homewiki leads to adding unowned accounts to the global account
Closed, ResolvedPublic

Description

Another case with the root of bug 70468. The fix should be the same as we did for the web interface-- pass $checkHome = true to the merge function.


Version: master
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=70468

Details

Reference
bz71749

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:51 AM
bzimport set Reference to bz71749.
csteipp created this task.Oct 7 2014, 5:22 PM

Created attachment 16693
patch

Patch made against 1.25wmf1, assumes that the patch for bug 70468 was also deployed. Cherry-picks cleanly against 1.25wmf2.

Attached:

I think that fixes the issue. Let's deploy it.

Created attachment 16709
script to break up bad global accounts

Script that goes through the log files which I copied to terbium from fluorine, figures out if the user had a homewiki picked that was different from the current one, and then deletes the localuser/globaluser rows, and invalidates the CA cache, and local wiki caches.

Has a dry run mode, manually set the 'simulate' member variable to false to make it run.

Attached:

My dry-runs indicate that 581 global accounts will be broken up, which includes 4309 local accounts.

Created attachment 16726
Patch after file reorg

Attached: