https://bugzilla.wikimedia.org/show_bug.cgi?id=29952
--- Comment #3 from Tomasz Finc <[email protected]> 2011-07-19 00:29:44 UTC --- (In reply to comment #2) > Short answer: Firefox for Android's user-agent string doesn't distinguish > between 'mobile phone' and larger-screen devices, eg 'tablet', where we prefer > to show the full site by default. > > So the current redirection script that checks user-agent can't determine if it > should redirect or not, and the faster server-side redirection being put in > place won't be able to handle this in any way unless future versions of > Firefox > for Android send some sort of HTTP header data to distinguish phones from > tablets/netbooks/laptops. > > As a temporary workaround, I propose updating the client-side JavaScript > redirector to use CSS media queries or such to detect very-small-screen > Firefox > and do the redirection then; the faster server-side user-agent can still work > for other browsers. And its still the same with all newer firefox builds. Patrick, Axel, and I chatted on #wikimedia-mobile and eventually came up with the same conclusion of css media queries. Thanks for detailed write up Brion. Its important to capture our thoughts not only on irc but also in bugzilla. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
