Page MenuHomePhabricator

MobileFrontend search suggestions go to desktop version of page if mobile version "disabled" by cookie
Closed, ResolvedPublic

Description

Tapping on an entry in the search suggestions drop-down seems to load up the desktop version of the site instead of the mobile one.

I assume it's taking the URLs returned from the OpenSearch API and is simply assuming that there will be an automatic redirect -- this doesn't happen if you've set the "disable mobile version" cookie (which there doesn't appear to be a way to undo) or using the mobile URLs explicitly on a desktop or tablet browser.


Version: unspecified
Severity: normal

Details

Reference
bz32078

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:02 AM
bzimport set Reference to bz32078.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to comment #0)

Tapping on an entry in the search suggestions drop-down seems to load up the
desktop version of the site instead of the mobile one.

I assume it's taking the URLs returned from the OpenSearch API and is simply
assuming that there will be an automatic redirect -- this doesn't happen if
you've set the "disable mobile version" cookie (which there doesn't appear to
be a way to undo) or using the mobile URLs explicitly on a desktop or tablet
browser.

I'm confused about this. So there should be a way to re-enable the mobile version, but if you've disabled it why would you want to go to the mobile version from search suggestions?

Should
?useformat=mobile
be appended on to the end of urls returned by the search as a short term fix?

I believe this was fixed by r113435.