Page MenuHomePhabricator

Avoid showing MinT suggestions in Translate for text with significant wikitext markup to break the translation
Closed, ResolvedPublic4 Estimated Story Points

Description

Until wikitext support is improved (T347018), the markup of some translations will get in the way of the translation, producing suboptimal results. This kind of issues has been reported by editors on Meta due to low quality suggestions from MinT.

Note that suggestions are provided on the side panel (at the right in the image below) and shown at the very end of the suggestion sections after the suggestions from translation memory (based on previous translations by other editors):

meta.wikimedia.org_w_index.php_title=Special_Translate&group=page-Meta%3AAbout&action=page&filter=&language=ja(Wiki Tablet).png (768×1 px, 175 KB)

This ticket proposes to identify source messages with a high presence of wikitext (or presence of particularly problematic wikitext) that is expected to resultin a bad translation, and do not show suggestions from MinT in such case.

In this way, users can still access to useful MinT results, while the less distracting ones are not adding adding additional distraction at the end of the suggestion list.

Event Timeline

Pginer-WMF created this task.
Pginer-WMF updated the task description. (Show Details)
Wangombe changed the task status from Open to In Progress.Dec 7 2023, 12:41 PM
Wangombe claimed this task.

Change 982461 had a related patch set uploaded (by Wangombe; author: Wangombe):

[mediawiki/extensions/Translate@master] Do not show Mint suggestions on text with wikitext

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

abi_ set the point value for this task to 4.Dec 18 2023, 7:09 AM

Change 982461 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] Do not show Mint suggestions on text with wikitext

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

Tested on MediaWiki.org:

image.png (476×1 px, 57 KB)

image.png (430×1 px, 53 KB)

image.png (408×1 px, 54 KB)