Page MenuHomePhabricator

Block translations by users who have been blocked from editing a translatable bundle
Closed, ResolvedPublic2 Estimated Story Points

Description

If a user is blocked from translating a translatable page or message bundle, they should not be able to be allowed to submit translations for it.

Event Timeline

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

[mediawiki/extensions/Translate@master] BLock translations from user blocked from editing translatable bundle

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

Change 831651 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Block translations from user blocked from editing translatable bundle

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

Tested on translatewiki.net:

image.png (651×1 px, 71 KB)

The angle brackets ⧼⧽ shouldn’t be there, it looks like the wrapper message tries to treat the whole block message as a message key.

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

[mediawiki/extensions/Translate@master] Translation permission: Return message key and params

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

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

[mediawiki/extensions/Translate@master] Translation permission: Return message key and params

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

With this patch, we now have this displayed:

image.png (438×1 px, 30 KB)

Change 850410 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Translation permission: Return message key and params

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