Page MenuHomePhabricator

Get ContentTranslation to translate all links inside tables
Open, NormalPublic

Description

If you translate articles with tables, only a few of the links inside a table are going to be linked, even if they all exist in the target wiki.

How to reproduce?

  1. Open http://en.wikipedia.beta.wmflabs.org/wiki/Special:ContentTranslation?page=18th+Satellite+Awards&from=en&to=da
  2. Click to translate table in article.
  3. Result for first table: http://en.wikipedia.beta.wmflabs.org/wiki/User:CennoxX/test

Please note, that articles like "Sandra Bullock" exist in the target wiki (da)

Event Timeline

CennoxX created this task.Feb 19 2015, 11:32 AM
CennoxX raised the priority of this task from to Needs Triage.
CennoxX updated the task description. (Show Details)
CennoxX added a project: ContentTranslation.
CennoxX added a subscriber: CennoxX.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 19 2015, 11:32 AM
santhosh triaged this task as Normal priority.Feb 19 2015, 12:04 PM
santhosh set Security to None.
santhosh added a subscriber: Language-Team.
CennoxX renamed this task from not all links inside tables are going to be translated to translate all links inside tables.Feb 26 2015, 9:11 AM
CennoxX updated the task description. (Show Details)Apr 8 2015, 11:48 AM
Amire80 moved this task from Needs Triage to CX6 on the ContentTranslation board.Jul 3 2015, 2:49 PM
Pginer-WMF moved this task from CX6 to CX7 on the ContentTranslation board.Jul 21 2015, 5:43 PM
Amire80 renamed this task from translate all links inside tables to Get ContentTranslation to translate all links inside tables.Oct 23 2015, 7:43 AM
Amire80 added a project: WorkType-Maintenance.
CennoxX updated the task description. (Show Details)Dec 14 2015, 7:10 PM

It seems the machine translation backend is not returning some links translated when it is inside the table, It could be a issue in Apertium or our markup reapplying code in cxserver. To be investigated.

I also saw some instances where our link adaptation tool fails to adapt a few links.

@Esanders, this particular bug is not about editing tables, but mostly about how we translate the content inside the table using machine translation backend and link adaptaion tool. I think there is another ticket about general table editing support, that can be link to T105447: [Epic] replace plain contenteditable with VisualEditor in ContentTranslation