Not allowed to translate a message

From Support
Jump to navigation Jump to search

Not allowed to translate a message

I tried to translate (edit a translation) a message in the MediaWikicore message group but i get this message: "You do not have permission to edit this page because it contains raw HTML which can be modified to affect all visitors." So how do i translate it?

yardom78 (talk)12:40, 9 April 2021

This is to prevent insertion of malicious code (notably rogue links to bad websites, or dangerous javascript that could steal data from the user).

Usually this occurs when the resource to translate contain raw HTML and the HTML elements or some of its attributes are not completely safe, or is not checked automatically as being safe, or uses an uncommon encoding and is not fully plain-text or the encoding could be used to bypass a HTML security).

You need to specify the link to the message you want to translate, and the language code.

Then submit your translation proposal in a thread posted here, asking for an admininstrator to submit it for you. Your message will also help project maintainers find a better solution to make these resources more easily translatable without the possible security issue. In some projects, the doc page ("/qqq") shows a contact address or link that you can use (possibly on a repository or bug tracker).

Verdy p (talk)14:47, 9 April 2021