Page MenuHomePhabricator

Impossible to switch from mobile to desktop on certain pages
Closed, ResolvedPublic

Description

If you visit certain urls with the mobileaction=toggle_view_desktop query string parameter e.g. https://www.mediawiki.org/wiki/MediaWiki?title=MediaWiki&mobileaction=toggle_view_desktop it should not redirect automatically to mobile. I suspect this might be related to the recent redirection issues in T103158

Original report:
Hi mediawiki.org will not go to desktop display if I click desktop link.

To reproduce go to

  • mediawiki.org on a mobile device ( I am using an iPhone with iOS 8.3)

Then try clicking desktop link it won't change the display just stays at mobile.

Event Timeline

Paladox created this task.Jun 23 2015, 8:28 PM
Paladox raised the priority of this task from to Needs Triage.
Paladox updated the task description. (Show Details)
Paladox added projects: Mobile, MediaWiki-General.
Paladox added subscribers: Paladox, Florian, Jdlrobson.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 23 2015, 8:28 PM
Jdlrobson renamed this task from Mobile won't let you display desktop website to Impossible to switch from mobile to desktop.Jun 23 2015, 8:36 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson set Security to None.

Seems to have been fixed but what ever it was needs to be backported to 1.26 wmf10 mediawiki was just now updated to wmf11.

Jdlrobson updated the task description. (Show Details)Jun 23 2015, 8:37 PM

Happens on wikimedia but doesn't happen now in mediawiki running on wmf 11.

Jdlrobson renamed this task from Impossible to switch from mobile to desktop to Impossible to switch from mobile to desktop on certain pages.Jun 23 2015, 8:41 PM
Jdlrobson updated the task description. (Show Details)

Thanks for this report! It could be related to the title query string parameter in the url.

Change 220297 had a related patch set uploaded (by MaxSem):
Restrict redirection regexes

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

Change 220297 merged by BBlack:
Restrict redirection regexes

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

Paladox closed this task as Resolved.Jun 23 2015, 9:15 PM

Problem now fixed. Wikipedia working again.

Deskana moved this task from Tag to Done on the SEO board.Jul 6 2018, 10:28 AM