SUL finalisation
Appearance
(Redirected from SUL finalization)
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. |
SUL finalisation
Resolve any remaining clashing user names, so that in the future every user may have a single username to log in with on all Wikimedia projects.
|
SUL finalisation unified user accounts across all Wikimedia projects.
History
Originally, Wikimedia wikis operated completely independently from each other, with separate user accounts and passwords for each wiki. CentralAuth was created to let users log in with the same credentials across multiple wikis, but as the wikis operated independently for years there were thousands of clashing accounts, i.e. cases where different people had registered the same name on different wikis. These clashes prevent those affected from logging in with the same name across all wikis.
Project Goal
The goal of the SUL finalisation is to forcibly rename any clashing user accounts so that every single user has their own single unified login across all Wikimedia sites.
Backlog
Necessary prior code/ops steps
- Done : ACTION: ?? to run the pass0 script to clean up data; updated stats review
- Done: PG's AccountAudit extension deployed and $wgCentralAuthAutoMigrate enabled on 2013-05-10 (allows gradual automatic merging by users on login).
- Done by Legoktm, September 2014: also create a global account upon login when all local accounts belong to the user.
- In progress : ACTION: ?? to run the migrateAccount script for non-conflicting users, in order:
- Done the bulk Merge 10k users who only exist on one wiki, and are not attached
- Done the bulk Merge 18k incorrectly unattached users and 3k LUGM
- Done, but effects to be verified Iterate over all unattached accounts with email and, where all accounts for a username have the same (confirmed) email, merge them all.
- Send emails to make 50k global accounts claim all their local unattached accounts (gives 28 days time)
- Email the (up to) 3.3M unattached, email unconfirmed accounts (sendConfirmAndMigrateEmail.php)
- [Timing depends on how many] Automatically create some more global accounts (migrateAccount.php --auto)
- Figure out other cases which need no manual intervention
- Next steps (parallel):
- Hoo? – Review lego's patch for 4
- Depends on stats DB Done
- Done : Finalize the global rename user tool and get deployed
- Note that renamed users MUST have their cookie invalidated.
- Next step:
- Done Legoktm, CSteipp, Hoo man - Merge https://gerrit.wikimedia.org/r/#/c/92468/ and test on beta
- Done CSteipp, Hoo man, Legoktm - deploy on cluster and test. Planned for July 9th.
- Done We need the ability to re-run metrics like these
- Setup DB for tracking unattached user in the cluster
Ops: rt #7775CSteipp? - Scripts to synchronize user tables
- Setup DB for tracking unattached user in the cluster
- Done : Add sufficient unit tests to CentralAuth to prevent regressions
- Plenty more could be added, but we should get notification of major breakage now.
- Done : Run pass0 again, to ensure localnames and globalnames are accurate
- Legoktm - See updates at bugzilla:67350.
- In progress : Write & deploy new code for auto-login-to-alternate account.
- ("You logged in as 'Foo' but your username has been automatically changed to 'Foo~Barwiki' - please use this in future")
Started as Gerrit change 61074- Abandoned- Done Patch by bd808 to handle most cases: Gerrit change 147020
- Done Core hook and hook implementation by CSteipp to handle case where winner later renames, so no global account conflicting with the looser's old name exsits
- Notification page once you login with your old name Gerrit change 148420
- ("You logged in as 'Foo' but your username has been automatically changed to 'Foo~Barwiki' - please use this in future")
- In progress: Write & deploy clashing-user-rename-and-globalise script.
- Note that a single user with multiple local accounts that clash with a global account need to be renamed to a single global account named after the “home wiki” per the same code that Special:MergeAccount uses
Desirable prior code/ops steps
- In progress: Write & deploy global user merging so two global users can be merged together
- What to do when two clashing local instances under the global accounts?
- Done Deploy UserMerge extension to all wikis
- Done Update extensions to be compatible - bug 67758
- Done Fix major bugs in Ex:UserMerge
- Done Enable UserMerge for all wikis in beta, test
- Next steps:
- Legoktm - quash bugs found during testing in beta
- Done CSteipp - Merge global merge, disabled by config
- In progress: Write & deploy a tool for local ‘losing’ users to check a proposed new account name (check against clashing global and local users, and also against the global user account name rules) and request it be done.
Project pages
- Global rename
- older implementation (historical, outdated)
- User documentation for tool
See also
- SUL documentation:
- m:Help:Unified login, official docs
- Extension:CentralAuth
- phab:T37707 – Complete unification of all accounts to SUL
- m:Single login specifications (historic, notes)
- Admin tools development
- phab:project/view/39/