Page MenuHomePhabricator

Title character error on zhwiki
Closed, ResolvedPublic

Description

https://prv-target-tests.wmcloud.org/diff/zhwiki.zh-cn/%E7%9B%BE%E5%8B%87/browse

https://zh.wikipedia.org/w/index.php?title=%E7%9B%BE%E4%B9%8B%E5%8B%87%E8%80%85%E6%88%90%E5%90%8D%E9%8C%84&useparsoid=0&variant=zh-cn
vs
https://zh.wikipedia.org/w/index.php?title=%E7%9B%BE%E4%B9%8B%E5%8B%87%E8%80%85%E6%88%90%E5%90%8D%E9%8C%84&useparsoid=1&parsoidnewlc=1&variant=zh-cn

The title of the page is:
盾之勇者成名录 (legacy)
盾之勇者成名錄 (parsoid)
盾之勇者成名錄 (in database)

The last character is different. It looks like we're just not language-converting the title, although https://zh.wikipedia.org/w/index.php?title=%E7%9B%BE%E4%B9%8B%E5%8B%87%E8%80%85%E6%88%90%E5%90%8D%E9%8C%84&action=info&uselang=en seems to indicate there's a displaytitle being set. I can't find -{T|... in expandtemplates output or data-mw-variant='{"title" or displaytitle in the Parsoid HTML, so I think this is the default displaytitle generation which is at fault.

Event Timeline

There is no -{T|} or {{DISPLAYTITLE:}} set in revision 90807880. Though it's not used here, zhwiki usually adds -{T|} tags through the parameter T of Template:NoteTA.

It looks like title conversion is simply not applied for the Parsoid case.

cscott claimed this task.

This appears to be fixed, likely via 1a304c1526c8caf8f70a86ee929f69e4fcaa8e7b.