Page MenuHomePhabricator

ContentTranslation doesn't adapt {{cite web}} when translating from Chinese and adds -{ }- markup from language converter
Closed, ResolvedPublic

Description

For an example see https://en.wikipedia.org/w/index.php?title=Zhang_Jinan&action=edit&oldid=679763214 .

Curiously, the -{ }- markup, which definitely belongs to the language converter, doesn't appear directly in the wiki syntax of the source article, but it probably pops up at some point in the Parsoid handling.

Related Objects

Event Timeline

Amire80 raised the priority of this task from to Medium.
Amire80 updated the task description. (Show Details)
Amire80 subscribed.
Amire80 renamed this task from ContentTranslation doesn't adapt {{cite web}} and adds -{ }- markup from language converter to ContentTranslation doesn't adapt {{cite web}} when translating from Chinese and adds -{ }- markup from language converter.Sep 9 2015, 10:47 AM
Amire80 set Security to None.
Etonkovidova claimed this task.
Etonkovidova moved this task from Extensions/Skins to Closed on the Chinese-Sites board.
Etonkovidova subscribed.

Checked in cx2-testing (with CX2 version) the same article translation zh: 张纪南 -> en:Zhang Jinan.

The phab task was filed to complain that -{zh;zh-hans;zh-hant| was added after the reference was processed by ContentTranslation:

<ref><span class="citation web" contenteditable="false">[http://cpc.people.com.cn/n/2013/0422/c87228-21236459.html -{zh;zh-hans;zh-hant|中央任命张纪南担任中央编委委员、中央编办主任}-]. 中国共产党新闻网.

It was manually corrected to:

<ref><span class="citation web" contenteditable="false">[http://cpc.people.com.cn/n/2013/0422/c87228-21236459.html 中央任命张纪南担任中央编委委员、中央编办主任]. 中国共产党新闻网.

CX2 translation handles it as the following (and it's the same as it was corrected manually):

<ref>{{Cite web|url=http://cpc.people.com.cn/n/2013/0422/c87228-21236459.html|title=中央任命张纪南担任中央编委委员、中央编办主任|publisher=中国共产党新闻网|access-date=2013-05-01}}</ref>。

It seems that the particular issue reported in this task does not present anymore.