Last modified: 2014-02-12 23:52:46 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 T31378, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29378 - Add override to force mobile rendering of layout
Add override to force mobile rendering of layout
Status: RESOLVED FIXED
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: 2011-06-13 18:31 UTC by Tomasz Finc
Modified: 2014-02-12 23:52 UTC (History)
9 users (show)

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


Attachments

Description Tomasz Finc 2011-06-13 18:31:18 UTC
Sometimes WURLF and our own device detection are missing a UA and we'd like to force rendering of the page with a mobile layout.
Comment 1 Brion Vibber 2011-06-13 19:04:13 UTC
Even if they're not missing, one sometimes wishes to override the preferences of others.
Comment 2 Patrick Reilly 2011-06-20 19:06:20 UTC
Fixed added in the following revision: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90477
Comment 3 Patrick Reilly 2011-06-20 19:06:38 UTC
Fixed added in the following revision: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90477
Comment 4 Tomasz Finc 2011-06-21 00:16:49 UTC
We should add the query parameters to the help page of the extension. 
http://www.mediawiki.org/wiki/Extension:MobileFrontend
Comment 5 Patrick Reilly 2011-06-21 00:24:12 UTC
The following text, "If you would like to test the mobile extension on a desktop browser or your device doesn't render the mobile version you can append the following key-value pair to the querystring: useFormat=mobile e.g., http://nomad.tesla.usability.wikimedia.org/index.php/Eby_J._Jose?useFormat=mobile" has been added to the http://www.mediawiki.org/wiki/Extension:MobileFrontend page.
Comment 6 Tomasz Finc 2011-06-21 00:31:31 UTC
awesome. lets add one for wap too.
Comment 7 Patrick Reilly 2011-06-21 00:52:37 UTC
Okay, done. This fix was committed in the following revision: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90505

You just need to set the querystring parameter to useFormat=mobile-wap instead.

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


Navigation
Links