Page MenuHomePhabricator

MobileFrontend "Random" feature does not use canonical URL form
Closed, ResolvedPublic

Description

If I go to https://en.m.wikipedia.org/wiki/Main_Page and select "Random" from the hamburger drop-down menu in the top-left corner of the page, I'm sent to https://en.m.wikipedia.org/w/index.php?title=USS_Peacock&campaign=random.

This URL should not include "/w/index.php?title=" and should not include "&campaign=random". The desktop site includes neither of these.

Wrong: https://en.m.wikipedia.org/w/index.php?title=USS_Peacock&campaign=random

Right: https://en.m.wikipedia.org/wiki/USS_Peacock


Version: unspecified
Severity: normal

Details

Reference
bz64924

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:19 AM
bzimport set Reference to bz64924.
bzimport added a subscriber: Unknown Object (MLST).
MZMcBride created this task.May 5 2014, 9:39 PM

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/bF1BpOdO

Change 131760 had a related patch set uploaded by Jdlrobson:
Use hash for random link

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

Change 131760 merged by jenkins-bot:
Use hash for random link

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