Last modified: 2010-01-05 15:58:42 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 T23774, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21774 - Wrong "View this page on regular Wikipedia"
Wrong "View this page on regular Wikipedia"
Status: RESOLVED DUPLICATE of bug 21976
Product: Wikimedia Mobile
Classification: Unclassified
Retired (Ruby) Gateway (Other open bugs)
.5
All All
: Normal normal (vote)
: ---
Assigned To: Hampton Catlin
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-06 15:44 UTC by Jimmy Xu
Modified: 2010-01-05 15:58 UTC (History)
3 users (show)

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


Attachments

Description Jimmy Xu 2009-12-06 15:44:09 UTC
For example: http://zh.m.wikipedia.org/wiki?search=%E7%91%9E%E5%A3%AB, which is [[zh:瑞士]]

While clicking "View this page on regular Wikipedia" at the bottom, it navigated to http://zh.wikipedia.org/w/mobileRedirect.php?to=http://zh.wikipedia.org/wiki/瑞士, and redirects to http://zh.wikipedia.org/wiki/瑞士, which is actually [[zh:&]].

This link should points to http://zh.wikipedia.org/wiki/%E7%91%9E%E5%A3%AB.
Comment 1 Andrea Di Menna 2010-01-04 18:35:53 UTC
The problem is that the link is HTML encoded instead of URL encoded.
That is, characters are encoded in HTML entities (&#<code>;) instead of percent-encoding (or URL encoding) in the form %<code>.

How is the "regular_wikipedia" link built?
Comment 2 Derk-Jan Hartman 2010-01-05 15:58:42 UTC

*** This bug has been marked as a duplicate of bug 21976 ***

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


Navigation
Links