Page MenuHomePhabricator

Wrong "View this page on regular Wikipedia"
Closed, ResolvedPublic

Description

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.


Version: .5
Severity: normal

Details

Reference
bz21774

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:48 PM
bzimport set Reference to bz21774.

ninniuz wrote:

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?

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