Page MenuHomePhabricator

mw.message double escapes {{int:}} in messages
Open, HighPublic

Description

While testing Special:CX, my over/underescaping tool noticed that there is overescaping in one of the messages:

When you are happy with the result, press "Publish translation&lt;a "&lt;"&gt;cx-publish-button&lt;/a&gt;".<a "<">cx-tools-instructions-text6</a>

Expected output is:

When you are happy with the result, press "Publish translation<a "<">cx-publish-button</a>".<a "<">cx-tools-instructions-text6</a>

The message is defined as: "cx-tools-instructions-text6": "When {{GENDER:|you}} are happy with the result, press \"{{int:cx-publish-button}}\"." and used as this.$card.find( '.text.description.three' ).text( mw.msg( 'cx-tools-instructions-text6' ) );.

Event Timeline

Nikerabbit raised the priority of this task from to Needs Triage.
Nikerabbit updated the task description. (Show Details)
Nikerabbit changed Security from none to None.
Nemo_bis triaged this task as High priority.EditedDec 9 2014, 10:05 AM
Nemo_bis subscribed.

Cf. T55576 (and T60918?)