Page MenuHomePhabricator

frontend link "mobile view" strips query from request
Closed, ResolvedPublic

Description

When following links like these, people loose action, oldid etc.

Visit [[Special:Permalink/569843617]] on en.wp, click on "mobile view" at the bottom and you get the current version instead of the specified old version.


Version: unspecified
Severity: normal

Details

Reference
bz53297

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:46 AM
bzimport set Reference to bz53297.
TheDJ created this task.Aug 24 2013, 11:38 AM

The lack of a query string in the "Mobile view" link is only part of the issue: if you construct the URL by hand, like this:
http://en.m.wikipedia.org/w/index.php?oldid=569843617
you don't get the expected old revision, you get a diff. More at
http://en.wikipedia.org/wiki/Wikipedia:Village_pump_%28technical%29#Mobile_view_doesn.27t_handle_permalinks_properly

(In reply to comment #1)

The lack of a query string in the "Mobile view" link is only part of the
issue:
if you construct the URL by hand, like this:
http://en.m.wikipedia.org/w/index.php?oldid=569843617
you don't get the expected old revision, you get a diff. More at
http://en.wikipedia.org/wiki/Wikipedia:
Village_pump_%28technical%29#Mobile_view_doesn.27t_handle_permalinks_properly

This is https://gerrit.wikimedia.org/r/80067

#1: is bug 49029 - a fix should be deployed Tuesday.

Change 90062 had a related patch set uploaded by Jdlrobson:
Pass query string parameters to mobile view url

https://gerrit.wikimedia.org/r/90062

Change 90062 merged by jenkins-bot:
Pass query string parameters to mobile view url

https://gerrit.wikimedia.org/r/90062