Page MenuHomePhabricator

Create a maintenance script for batch import vanishing requests
Closed, ResolvedPublic

Description

As a developer working on improving the account vanishing process, I would like to have the ability to automatically import all the current backlog that is present in the zendesk board from legal.

The script will be run manually and will include the following:

  • It will remove duplicate
  • It will check if an user exist (it could have already been renamed)
  • It will create an entry in the GlobalRenamer with the type of "vanishing" (or whatever is teh correct name we have chosen).
  • If the normal flow of creating a rename request (from GlobalRenameRequest) triggers an email, we should do that too.
  • Is possible and easy, print a log after the script to specify how many have been created, how many were duplicate and how many did not exist.

This is an example CSV:

Event Timeline

Reedy renamed this task from Create a maintainence script for batch import to Create a maintenance script for batch import.Jun 6 2024, 5:36 PM
matmarex renamed this task from Create a maintenance script for batch import to Create a maintenance script for batch import vanishing requests.Mon, Jun 10, 3:29 PM
Amdrel changed the task status from Open to In Progress.Tue, Jun 11, 9:24 PM
Amdrel claimed this task.

Change #1046723 had a related patch set uploaded (by Amdrel; author: Amdrel):

[mediawiki/extensions/CentralAuth@automate-account-vanishing] Add batchVanishUsers maintenance script

https://gerrit.wikimedia.org/r/1046723

Change #1046723 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@automate-account-vanishing] Add batchVanishUsers maintenance script

https://gerrit.wikimedia.org/r/1046723