Page MenuHomePhabricator

Do not consider translations that don't have message definition as safe
Closed, ResolvedPublic

Description

Problem

Currently when processMessageChanges runs with safe imports, messages in other languages that do not have a message definition are treated as safe and imported.

This is also causing messages in message group synchronization cache to time out.

Objective

Do not import translations without definitions. Such import should not be treated as "safe-import".

Optional objectives

List them on Special:ManageMessageGroups, but add a warning (similar to other warnings we have for different conditions). Maybe also shade them more grey.

Event Timeline

abi_ triaged this task as Medium priority.Mar 9 2021, 4:08 PM

Marking this as medium, similar to what we have for the group synchronization cache.

Change 670227 had a related patch set uploaded (by Abijeet Patro; owner: Abijeet Patro):
[mediawiki/extensions/Translate@master] Synchronization: Do not treat translations without definitions safe

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

Nikerabbit renamed this task from Do not consider translations that don't have message defintiion as safe to Do not consider translations that don't have message definition as safe.Mar 9 2021, 7:13 PM

Change 670227 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Synchronization: Do not treat translations without definitions safe

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

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

[mediawiki/extensions/Translate@master] Ignore messages that don't have message definitions

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

Change 681517 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Ignore messages that don't have message definitions

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

This comment was removed by abi_.

Commented on wrong task.

This is done and deployed on Translatewiki.net. Tested it by processing changes on Special:ManageMessageGroup today.