Last modified: 2014-02-12 23:55:17 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 T56101, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54101 - Fragment identifier not passed over when transferred from desktop to mobile
Fragment identifier not passed over when transferred from desktop to mobile
Status: RESOLVED DUPLICATE of bug 50517
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-13 14:28 UTC by Tom Morris
Modified: 2014-02-12 23:55 UTC (History)
9 users (show)

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


Attachments

Description Tom Morris 2013-09-13 14:28:19 UTC
If you are on mobile and you click a link to the desktop version, you get redirected to the mobile version. This loses the fragment identifier on the end.

For instance, open the following link on mobile (or in a desktop browser set with a mobile user agent header):

https://en.wikipedia.org/wiki/Paella#Valencian_paella

On desktop, it'll take you to the sub-section on Valencian paella. On mobile, it takes you to the article and doesn't take you to the specific subsection.

There may not be much you can do, although StackOverflow says that the Location header may contain the full URL with fragment. http://stackoverflow.com/questions/2286402/url-fragment-and-302-redirects

The location header could be parsed, and if it contains the equivalent desktop URL with a fragment identifier, the fragment identifier could be passed to the mobile version so the user can be taken to the right place in the page.
Comment 1 Arthur Richards 2013-09-13 14:40:17 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://mingle.corp.wikimedia.org/projects/mobile/cards/1196
Comment 2 Jon 2013-09-13 15:04:00 UTC

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

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


Navigation
Links