Page MenuHomePhabricator

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

Description

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

Details

Reference
bz34666
TitleReferenceAuthorSource BranchDest Branch
builds-api: bump to 0.0.155-20240607054956-c39a1ef1repos/cloud/toolforge/toolforge-deploy!319ghostbump_builds-apimain
openapi: refactor yamlrepos/cloud/toolforge/builds-api!96sstefanovaslavina/refactor-yamlmain
Customize query in GitLab