Last modified: 2011-12-02 23:47:34 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 T27932, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25932 - Mobile edition should be served to users of Mobile firefox (including nightlies)
Mobile edition should be served to users of Mobile firefox (including nightlies)
Status: RESOLVED FIXED
Product: Wikimedia Mobile
Classification: Unclassified
devices (Other open bugs)
--
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 29952 (view as bug list)
Depends on:
Blocks: 29952
  Show dependency treegraph
 
Reported: 2010-11-15 03:58 UTC by David Ascher
Modified: 2011-12-02 23:47 UTC (History)
3 users (show)

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


Attachments

Description David Ascher 2010-11-15 03:58:17 UTC
Mozilla Firefox is soon going to be widely available in final for for Android and Maemo.  Betas are available today (http://www.mozilla.com/en-US/m/beta), as well as nightly builds (https://wiki.mozilla.org/Mobile/Platforms/Android)

Currently, nightly builds of Firefox on Android get shown the standard site, whereas they should get the mobile edition (which is very nice by the way!)

See https://developer.mozilla.org/en/Gecko_user_agent_string_reference

for details on the UA sniffing if that's what you want to do.  I'd recommend CSS media queries based on screen size if possible.

cheers.
Comment 1 Hampton Catlin 2010-11-15 09:10:55 UTC
Does the site currently look ok in the browser? Can you post a screenshot?
Comment 2 Derk-Jan Hartman 2010-11-15 21:23:18 UTC
UA:

Mozilla/5.0 ({OS FAMILY}; U; {OS VERSION} {CPU}; en-US; rv:{GECKO VERSION}) Gecko/{BUILDID} Firefox/{FIREFOX VERSION} Fennec/{FENNEC VERSION}
Comment 3 Derk-Jan Hartman 2010-11-15 21:26:32 UTC
https://developer.mozilla.org/en/Mobile/Using_the_viewport_meta_tag_to_improve_the_mobile_browsing_experience

"For web developers, this means that 320px be full width in portrait mode at scale=1, on all of the above-mentioned handheld devices, and they may size their layouts and images accordingly. But remember that not all mobile devices are the same width; you should also make sure that your pages work well in landscape mode, and on larger devices like the iPad and Android tablets.

On 240-dpi screens, pages with initial-scale=1 will effectively be zoomed to 150% by both Fennec and Android WebKit. Their text will be smooth and crisp, but their bitmap images will probably not take advantage of the full screen resolution. To get sharper images on these screens, web developers may want to design images – or whole layouts – at 150% of their final size (or 200%, to support the rumored 320-dpi iPhone) and then scale them down using CSS or viewport properties."
Comment 4 Tomasz Finc 2011-05-11 00:21:42 UTC
What's tough about this is that both Android Tablets and Firefox on Android seem to have the same UA.
Comment 5 Brion Vibber 2011-12-02 23:42:28 UTC
This appears to be done, in that Firefox/Android is sent to the mobile site. If further tweaks for tablets (if/when the user-agent updates fully) open a specific bug if there's not already?
Comment 6 Brion Vibber 2011-12-02 23:47:34 UTC
*** Bug 29952 has been marked as a duplicate of this bug. ***

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


Navigation
Links