Page MenuHomePhabricator

Using both italic and bold wiki markup (''''') in a string, Special:Translate page view incorrectly displays the rest of the string as bold
Closed, ResolvedPublic

Description

Please note that In the translate extension using the translation tool in the window from where you can translate text, bold and italics are shown. But when they are used together ('''''text''''') in the translation window is shown all the text following the word in bold as in https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-Meta%3AAutopatrollers&action=page&filter=&language=it

Event Timeline

Aklapper renamed this task from Bug on the Extension:Translate to Using both italic and bold wiki markup (''''') in a string, Extension:Translate incorrectly displays the rest of the string as bold.Sep 13 2017, 1:15 PM
Nikerabbit moved this task from Backlog to tux on the MediaWiki-extensions-Translate board.
Nikerabbit subscribed.

Thanks for the report. There are no plans to improve the superficial formatting present in the page view. One possible resolution to this task is to use the proper parser to render the contents, but this has to be considered with more thought.

Nemo_bis renamed this task from Using both italic and bold wiki markup (''''') in a string, Extension:Translate incorrectly displays the rest of the string as bold to Using both italic and bold wiki markup (''''') in a string, Special:Translate page view incorrectly displays the rest of the string as bold.Sep 15 2017, 1:39 PM

Change 1006543 had a related patch set uploaded (by Jon Harald Søby; author: Jon Harald Søby):

[mediawiki/extensions/Translate@master] Fix parsing of bold and italic wikitext inside Special:Translate

https://gerrit.wikimedia.org/r/1006543

Test wiki created on Patch demo by Jon Harald Søby using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/8a6a4a0f9d/w

Test wiki on Patch demo by Jon Harald Søby using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/8a6a4a0f9d/w/

Test wiki created on Patch demo by Jon Harald Søby using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/c8b1380848/w

Test wiki on Patch demo by Jon Harald Søby using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/c8b1380848/w/

Change 1006543 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Fix parsing of bold and italic wikitext inside Special:Translate

https://gerrit.wikimedia.org/r/1006543

jhsoby claimed this task.