Last modified: 2013-08-10 20:38:40 UTC
the message MediaWiki:Lqt-sign-not-necessary warns against using four tildes, or "~~~~". If you want to be clear about that, you may include the string "~~~~" in your local version of the message. So as to enter the string and have it not replaced automatically, it has to be included in <nowiki>s. That works fine, when amending the message text. However, when the message is being used, "<nowiki>" is rendered to the user.
This bug has not been touched in at least six months. With this in mind, I've been asked by the bugmeister to bump this bug's priority down from "High". Concerns can be addressed to mah@everybody.org.
Since this message is added by JS I'm not sure what the best way to fix this problem would be. Strip <nowiki> and </nowiki> from the resulting string maybe?
I've got this: - var msg = mw.msg('lqt-sign-not-necessary'); + var msg = mw.jqueryMsg.getMessageFunction( { format: 'text' } )( 'lqt-sign-not-necessary' ); Which seems to fix the issue. But there must be some simpler way.
I think this workaround will only work temporarily due to https://gerrit.wikimedia.org/r/#/c/49350/ . <nowiki> is being treated as an HTML tag, then the text is being extracted. That will break when support for arbitrary HTML is removed again. The right way to fix this is to add <nowiki> support to jqueryMsg. I've added bug 45173 for this.
Unassigning myself from this then.
(In reply to comment #0) > the message MediaWiki:Lqt-sign-not-necessary warns against > using four tildes, or "~~~~". If you want to be clear about that, > you may include the string "~~~~" in your local version of the > message. Just don't. Doesn't seem a compelling enough use case.