Page MenuHomePhabricator

Update migration script to map projects to tags
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

Following T400414, the "Projects" field is no more. It is replaced by tags.

We need to adjust the migration script to map the projects field of wishes in the old system to their corresponding navigation tags. If there is no corresponding tag, we leave the tags field blank.

Tags that represent projects

  • wikidata
  • wikisource
  • wiktionary

The keys for both the tags and the old projects are the same. For any other project encountered, leave the "tags" field empty.

Acceptance criteria
  • Replace the projects field with tags
  • Remove any values that are not wikidata, wikisource or wiktionary

Event Timeline

KSiebert updated the task description. (Show Details)
KSiebert updated the task description. (Show Details)
KSiebert set the point value for this task to 2.
dmaza changed the task status from Open to In Progress.Sep 11 2025, 1:30 PM
dmaza claimed this task.

Change #1187534 had a related patch set uploaded (by Dmaza; author: Dmaza):

[mediawiki/extensions/CommunityRequests@master] Replace projects with tags when migrating wishes

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

Change #1187534 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] Replace projects with tags when migrating wishes

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

I forgot about one: Commons should map to Multimedia

Change #1192229 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@master] migrateFromGadget: add a few more missing transformations

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

Change #1192229 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@master] migrateFromGadget: add a few more missing transformations

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

Change #1192652 had a related patch set uploaded (by MusikAnimal; author: MusikAnimal):

[mediawiki/extensions/CommunityRequests@wmf/1.45.0-wmf.21] migrateFromGadget: add a few more missing transformations

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

Change #1192652 merged by jenkins-bot:

[mediawiki/extensions/CommunityRequests@wmf/1.45.0-wmf.21] migrateFromGadget: add a few more missing transformations

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

Mentioned in SAL (#wikimedia-operations) [2025-10-01T01:17:23Z] <musikanimal@deploy2002> Started scap sync-world: Backport for [[gerrit:1192652|migrateFromGadget: add a few more missing transformations (T405826 T404138 T404234)]]

Mentioned in SAL (#wikimedia-operations) [2025-10-01T01:22:35Z] <musikanimal@deploy2002> musikanimal: Backport for [[gerrit:1192652|migrateFromGadget: add a few more missing transformations (T405826 T404138 T404234)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-10-01T01:28:16Z] <musikanimal@deploy2002> Finished scap sync-world: Backport for [[gerrit:1192652|migrateFromGadget: add a few more missing transformations (T405826 T404138 T404234)]] (duration: 10m 53s)