Page MenuHomePhabricator

generateSitemap.php got error when language set to chinese
Closed, ResolvedPublic


When I set the language to en, the google maps generate just fine.

But when I set language to zh

the sitemap broke.

One of my friend iwikia find that the sitemap broke when the URL contain '''&''' for example :'''&variant=zh-hans'''

A possible temporary solution is: only generate the zh page URL.

(Now the xml contain three URL: the article, the article&variant=zh-hans, the article&variant=zh-hant )

Version: unspecified
Severity: major