Page MenuHomePhabricator

Make OpenID extension aware of user deletions done by extension UserMerge and Delete (and probably others)
Closed, ResolvedPublic

Description

Information for those users who use Extension:User Merge and Delete together with Extension:OpenID:

when using both extensions, the current version of User Merge and Delete ignores to copy OpenID settings of from the first (to be merged into the second and to be deleted) to the second account, and remains of the first account hinder the second account to use them (a property of the OpenID extension).

An ad-hoc solution is to manually delete the remains of the first account in the table OpenIDs:

DELETE FROM user_openid WHERE uoi_user=<first_account_userid>;

This frees the OpenID(s) which were connected to the first account; the second account user (or anyone else who's entitled) can then freshly use the former OpenIDs which were connected to their first account before merging.

I will try to fix this soon. A solution should use hooks, if possible.

[1] http://www.mediawiki.org/wiki/Extension:OpenID
[2] http://www.mediawiki.org/wiki/Extension_talk:User_Merge_and_Delete#Information_about_a_problem_when_using_.22User_Merge_and_Delete.22_together_with_.22OpenID.22.2C_and_an_ad-hoc_solution


Version: unspecified
Severity: major
URL: http://www.mediawiki.org/wiki/Extension:OpenID

Details

Reference
bz28993

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:32 PM
bzimport set Reference to bz28993.

Update / To Do

add OpenID-specific
+ Debug info ("OpenID account user X deleted")
+ User deletion log info ("OpenID account user X deleted")

Important:

+ request/ask the "User merge and delete" maintainer (Tim L.) to add a user account deletion hook