Page MenuHomePhabricator

Chinese wikivoyage pagebanner cannot automatically convert simplified or traditional Chinese using "pgname" and "caption" parameters
Closed, DuplicatePublic

Description

Chinese wikivoyage pagebanner cannot automatically convert simplified or traditional Chinese using "pgname" and "caption" parameters...

In the traditional Chinese interface, Simplified Chinese was found. After checking "Template:Pagebanner" as "pgname" and "caption", there is no automatic conversion between Traditional Chinese and Simplified Chinese.

Can it be resolved in Wikivoyage? If so, how can I be fix it?

Simplified Chinese and Traditional Chinese:
荔湾 <==> 荔灣
万华 <==> 萬華

Problem code(in Template:Pagebanner)-

| {{#if: {{{caption|}}} | tooltip={{{caption|}}} }}
| {{#if: {{{pgname|}}} | pgname={{{pgname}}} }}

Test page-
https://zh.wikivoyage.org/wiki/User:Yuriy_kosygin/工程品實驗室
https://zh.wikivoyage.org/wiki/臺北/萬華

Page Banner(Template)-
https://zh.wikivoyage.org/wiki/Template:Pagebanner

Thanks.