Last modified: 2014-01-07 11:21:42 UTC
MediaWiki:Tpt-discouraged-language-force and MediaWiki:Tpt-discouraged-language both use <strong></strong> tags by default. These do not render text as bold in the actual extension. They should be changed to bold tags like '''this'''.
I don't understand the bug report. Unless the message accepts raw html (which it should not, if it does it is a bug), either <strong> and ''' work at the same time, or neither of them works.
The code is: 241- new mw.Api().parse( 242- mw.message( group.priorityforce ? 243: 'tpt-discouraged-language-force' : 244- 'tpt-discouraged-language', 245- '', 246- $.uls.data.getAutonym( targetLanguage ), 247- preferredLanguages.join( ', ' ) 248- ).parse() 249- ).done( function ( parsedWarning ) { 250- $groupWarning.html( parsedWarning ); 251- } ); So it is in JavaScript but it is parsed via the API. I'm confused though why the input to the API call is parsed first, as that would lead to double escaping if there were links and stuff.
This needs steps to reproduce.