Page MenuHomePhabricator

ContentTranslation deletes <math> formulas from article
Open, NormalPublic

Event Timeline

He7d3r created this task.Jun 14 2016, 1:22 PM
Restricted Application added subscribers: Zppix, Aklapper. · View Herald TranscriptJun 14 2016, 1:22 PM
Amire80 triaged this task as Normal priority.Jun 19 2016, 10:38 AM
Amire80 added a project: WorkType-Maintenance.
Amire80 moved this task from Needs Triage to Bugs on the ContentTranslation board.
He7d3r renamed this task from ContentTranslation deletes formulas from article to ContentTranslation deletes <math> formulas from article.Sep 6 2016, 12:57 PM
He7d3r updated the task description. (Show Details)
He7d3r added subscribers: Amire80, eranroz.
He7d3r updated the task description. (Show Details)Sep 6 2016, 1:01 PM
He7d3r updated the task description. (Show Details)Sep 24 2016, 7:50 PM

Hmm,

I could reproduce it now when translating https://de.wikipedia.org/wiki/Hitting-Set-Problem to Polish. The formulas were seen while translating, but upon publishing they became just <math/>. It was also reported for translating the same article into French ( https://www.mediawiki.org/wiki/Topic:Tg03j16zuwyjff0j ).

This comment was removed by He7d3r.
He7d3r added a comment.Aug 4 2017, 3:19 AM
This comment was removed by He7d3r.
He7d3r updated the task description. (Show Details)Dec 10 2017, 9:17 PM
He7d3r updated the task description. (Show Details)Dec 14 2017, 4:50 PM

Same thing reported in Arabic Wikipedia!

He7d3r added a comment.May 3 2018, 7:48 PM

Still preventing me from using ContentTranslator more often...
https://pt.wikipedia.org/wiki/Reta_real_estendida_projetivamente?diff=51978556

Arrbee moved this task from Bugs to Check & Move on the ContentTranslation board.Sep 3 2018, 11:56 AM

The new version of Content Translation uses the same editing surface as Visual Editor, so it is expected to render better with complex content. Can anyone reproduce some of these issues with the new version of the tool?

@He7d3r
I re-checked the first reported case - the example of the formula that needed to be inserted manually, e.g. \vec{f} e \vec{g} (https://pt.wikipedia.org/wiki/Fun%C3%A7%C3%B5es_ortogonais?diff=45888620).

With new version of the Content Translation tool it's possible to insert such formulas via VE insert Math. The formula is displayed correctly and published correctly. There are however some shortcomings, for example, when math formulas are not displayed in the source article panel - reported here T203728: CX2: Math formulas with wikitext indentation not displayed in source column. But at least there is now a workaround for inserting formulas before publishing.

I'll test other reported cases to see if math formulas have other limitations in new translation tool.

Barbvd added a subscriber: Barbvd.Feb 8 2019, 11:52 PM

Here are test results from yesterday for all links listed in the bug. (Compares results of translation using Google, Yandex, and just straight "Copy Original Content")

Here are test results from yesterday for all links listed in the bug. (Compares results of translation using Google, Yandex, and just straight "Copy Original Content")

Thanks for compiling these examples, @Barbvd. From an initial look, it seems that copying math elements bypassing MT (even if MT is applied to the rest of the paragraph) would lead to better results in many cases.