Page MenuHomePhabricator

Reassign عبد الله's mentees to other mentors at arwiki
Closed, ResolvedPublic

Description

Event Timeline

How we can do this:

a) wait for https://gerrit.wikimedia.org/r/c/mediawiki/extensions/GrowthExperiments/+/571293 (part of T244744: Add interface for changing mentor) to be reviewed&merged, which would allow admins to do any mentor assignment changes via the API. A small script can be then drafted to change it for all the users. Sysadmin's help will still be required to get the users, but it keeps us from doing direct write queries
b) run methods from ChangeMentor class directly in shell.php,
c) run a direct UPDATE query, and fire notifications (if we want them) through shell.php magic
d) something else?

Urbanecm updated the task description. (Show Details)
Tgr added a subscriber: Tgr.

The API patch has been merged so should we do this?

Sysadmin's help will still be required to get the users

Sounds like maybe that could use an API as well?

kostajh claimed this task.
kostajh added a subscriber: kostajh.

I think this was done a while ago, so I'm closing out. Please reopen if you need something else here.

The API patch has been merged so should we do this?

Sysadmin's help will still be required to get the users

Sounds like maybe that could use an API as well?

Possibly, but at that time, it was questionable whether it's even legally possible. Now, with the #mentor keyword, maybe it's not a that big deal anymore? Filled T275773: Move mentor/mentee relationship to a separate database table to make it possible to run more queries on it, which could have exposing the relationship in a more accessible way (ie. DB replicas) to the communities.