Page MenuHomePhabricator

Provide a gadget migration script
Open, Needs TriagePublic


Currently, gadgets are identified by page name. Hence, when a gadget is renamed, the user preferences to have enabled this gadget is lost.

A feature to migrate a gadget would then be welcome to perform the following tasks:

  1. Gets the list of users having gadget A enabled
  2. Enable gadget B for these users
  3. Disable gadget A for these users

Event Timeline

Bump :) Is there someone able to do it? Is the task easy or not?

You need to write a new maintenance script.

You've some example at

If you wish to contribute, you can write and commit it directly to the Gadgets repository,
as it will be useful for other projects too, not only Wikimedia.

As the extension doesn't currently have any maintenance script, you can create a maintenance/ folder to put yours in.

Od1n added a comment.Apr 30 2018, 1:13 AM

Thank you for these explanations :)

Though, I don't plan learning a whole new topic, and which would be useful to me only for this occasion, if there is someone else already able to write the script in less than 2 minutes...