Page MenuHomePhabricator

Localisation update deleted many i18n files for Collection extension
Closed, ResolvedPublicBUG REPORT

Description

https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Collection/+/743807

I look like something went wrong with that localisation update from https://translatewiki.net
Translation files for many languages were deleted instead of updated. This made English text
appear in the sidebars of Dutch and Swedish Wikipedias, and many others.

The deleted files need to be restored. And maybe translatewiki needs to find out why this
happened so they can avoid it happening again.

Event Timeline

It looks like something with rGTWN7fdcd9aa5309: [Collection] Register api message group caused all translations for this extension to be marked fuzzy and therefore no language met the export threshold.

Probably cause of things:

  • Message group was split
  • For these groups the messages were seen as new -> import page shows a warning and defaults to import and fuzzy

To avoid this from happening again, perhaps default to "import" instead of "import and fuzzy" if the message content is identical.

For now, I think reviewing at least one translation per language should bump these groups over the threshold again. Outdated messages can then be reviewed by translators without time pressure.

Change 748692 had a related patch set uploaded (by Nikerabbit; author: L10n-bot):

[mediawiki/extensions/Collection@master] Localisation updates from https://translatewiki.net.

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

Change 748692 merged by jenkins-bot:

[mediawiki/extensions/Collection@master] Localisation updates from https://translatewiki.net.

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

I did some manual unfuzzying of translators and made a manual export to restore the languages.

There are no deployments to Wikimedia projects this week and only manual deployments next week, so it will take a while until translations are restored there. Per T224922: Code Stewardship Review: Collection Extension there seems to be no owner for this extension to make a call whether an emergency deployment is needed.

Nikerabbit claimed this task.

Restored translations are now deployed.

Change 770686 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] ManageGroups: Select import when key is reused and content is same

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