Page MenuHomePhabricator

Make messages with raw HTML translatable on translatewiki.net
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):
Make messages with raw HTML translatable on translatewiki.net for translators

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Currently messages which may contain aw HTML, defined for core and extensions per $wgRawHtmlMessages, are disabled for translation by translator. Only admin may add translation for security reasons.

This is not translator friendly.

Per short discussion with Amir on translatewiki I wonder if it would be possible to add such a rule to the i18n check by Jenkins, would it?

I am already checking every export for false positive of this CI task.

Event Timeline

It is also to protect the users of translatewiki.net, in case we use those translations directly on translatewiki.net even before exporting.

Secondly, I am not keen on any additional support for RawHtmlMessages. It was supposed to be temporary measure until the messages in question are made safe. I would prefer to take those messages completely out of translation to enforce this message, but we don't have a way to do it which wouldn't delete the existing translations.