Page MenuHomePhabricator

Kartographer does not load translations for Chinese
Closed, InvalidPublic

Description

On Chinese GeoHack pages, the Kartographer seems to have only been requested the zh language, causing missing translations in the credit text despite zh-hans and zh-hant translations existing on TWN. Please consider aliasing zh lookups to one of zh-hans or zh-hant.

Sample page: https://tools.wmflabs.org/geohack/geohack.php?language=zh&params=31.2276_N_121.4877_E_&pagename=%E5%8D%97%E7%BF%94%E9%A5%85%E9%A0%AD%E5%BA%97
TWN: https://translatewiki.net/wiki/MediaWiki:Kartographer-attribution/zh-hant https://translatewiki.net/wiki/MediaWiki:Kartographer-attribution/zh-hans

In addition, GeoHack appears unable to handle things like language=zh-hans due to where the WMF map javascript's path is pointing, but that's a whole separate problem to deal with.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 21 2017, 7:09 PM
Arthur2e5 closed this task as Invalid.Aug 21 2017, 8:33 PM
Arthur2e5 updated the task description. (Show Details)
Arthur2e5 updated the task description. (Show Details)

False positive report. It's just a MediaWiki:GeoHack.js problem.

Shizhao moved this task from Backlog to Closed on the Chinese-Sites board.Aug 22 2017, 1:47 AM