Last modified: 2013-05-13 04:30:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36666, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34666 - generateSitemap.php got error when language set to chinese
generateSitemap.php got error when language set to chinese
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Maintenance scripts (Other open bugs)
unspecified
All All
: Low major (vote)
: ---
Assigned To: Liangent
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-24 01:33 UTC by zoglun
Modified: 2013-05-13 04:30 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description zoglun 2012-02-24 01:33:52 UTC
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 )
Comment 1 Gerrit Notification Bot 2013-05-12 15:39:34 UTC
Related URL: https://gerrit.wikimedia.org/r/63383 (Gerrit Change Ifb6ddb0bc6ca03c411f938837b2f89a5a30e4fc3)
Comment 2 Gerrit Notification Bot 2013-05-12 17:14:18 UTC
https://gerrit.wikimedia.org/r/63383 (Gerrit Change Ifb6ddb0bc6ca03c411f938837b2f89a5a30e4fc3) | change APPROVED and MERGED [by jenkins-bot]

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links