Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicate languages #5173

Merged
merged 3 commits into from
Jan 28, 2025
Merged

Remove duplicate languages #5173

merged 3 commits into from
Jan 28, 2025

Conversation

tonisevener
Copy link
Collaborator

@tonisevener tonisevener commented Jan 27, 2025

Phabricator: https://phabricator.wikimedia.org/T384073

Notes

This was a bug I missed in #5112, apparently some of the sites returned in the sites API call are duplicates. I added a temporary workaround to the script to avoid adding these new dupe languages, to get this back to the 7.6.4 state. But eventually we might want to perform a proper user data migration on these if we are expected to switch wiki language codes / subdomains.

When the script ran, a new language bubbled up as well, tig.wikipedia.org. I will note it on the task.

Test Steps

  1. Look and findings in https://phabricator.wikimedia.org/T384073#10493845. Confirm dupe languages no longer appear (except Cantonese, which is an existing bug).

@tonisevener tonisevener requested review from a team and mazevedofs and removed request for a team January 27, 2025 22:39
Copy link
Collaborator

@mazevedofs mazevedofs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@mazevedofs mazevedofs merged commit fc33413 into 7.7.0 Jan 28, 2025
5 checks passed
@mazevedofs mazevedofs deleted the T384073-dupes branch January 28, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants