Last modified: 2010-12-08 22:25:17 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 T28239, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26239 - Palm mobile rendering problem
Palm mobile rendering problem
Status: RESOLVED FIXED
Product: Wikimedia Mobile
Classification: Unclassified
Retired (Ruby) Gateway (Other open bugs)
.5
All All
: Normal normal (vote)
: ---
Assigned To: Hampton Catlin
:
: 26249 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-12-04 21:46 UTC by Derk-Jan Hartman
Modified: 2010-12-08 22:25 UTC (History)
7 users (show)

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


Attachments

Description Derk-Jan Hartman 2010-12-04 21:46:11 UTC
Mobile Site Formatting Problem on Palm Pre

I have a Palm Pre, running Palm's WebOS. Since Thursday (12/2) morning, wikipedia mobile pages have been coming up with different formatting. Instead of the usual, easily readable, single columb. The pages have been spread out quite a bit wider, requiring zooming and subsequent side-to-side scrolling. In order to stop the inevitable, "it must be your fault" responses, I've double checked, and it is the mobile site at which I'm looking. Furthermore, a quick web search reveals that I'm not the only Palm user that has noticed this, so it's not relugated to an error on my phone. Palm's browser doesn't have formatting options, so it's not that, besides, I didn't change anything from when it was displaying properly to when it stopped. I'm writing this in the hopes that the powers that be that control the actual Wikipedia mobile site will find out, and fix this. —Preceding unsigned comment added by 70.226.217.101 (talk) 03:07, 4 December 2010 (UTC)
Comment 1 Hampton Catlin 2010-12-05 15:00:33 UTC
Around the 2nd of December, all Palm Pre devices changed their User Agent string to no longer have the term "Palm" or "Pre" anywhere in it. It is now 

"Mozilla/5.0 (webOS/1.3; U; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Desktop/1.0"

So... it claims to be desktop. And, our site responded with the desktop version of the mobile site. Whoops!

Deploying the fix now!
Comment 2 Sam Reed (reedy) 2010-12-05 19:26:25 UTC
*** Bug 26249 has been marked as a duplicate of this bug. ***
Comment 3 Sam Reed (reedy) 2010-12-05 19:27:26 UTC
Hampton, an OTRS ticket suggest this still isn't fixed.

I've requested them to see what user agent string they're getting, and then I'll look at reopening this bug (hence the reason for marking as duplicate!)
Comment 4 Jake 2010-12-05 20:55:12 UTC
Having the same issue. According to "whatsmyuseragent.com" my user agent string is: "'Mozilla/5.0 (webOS/1.4.5; U; en-US) AppleWebKit/532.2 (KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.0' "

The last WebOS update for the majority of US users was 1.4.5 back in August, so it's unlikely there was any change in the Pre's browser on Dec 2.
Comment 5 Sam Reed (reedy) 2010-12-05 21:16:32 UTC
Reopening, seems to be unfixed.

Reports in OTRS is similar:

"Mozilla/5.0 (webOS/1.4.5; U; en-US) AppleWebKit/532.2
(KHTML, like Gecko) Version/1.0 Safari/532.2 Pre/1.0"

Same as above.
Comment 6 Derk-Jan Hartman 2010-12-05 22:31:23 UTC
Was the redirect script fixed as well ?
Comment 7 phil 2010-12-07 13:50:04 UTC
This is very definetely unfixed, and the bahaviour is the same on both Palm Pre and Palm Pixi. Boht devices are correctly pointing themselves to the mobile site not the desktop site. They are nto displaying the desktop site either, it is an incorrectly formatted version of the mobile site.

whatsmyuseragent.com reports: "Mozilla/5.0 (webOS/1.4.5; U; en-GB) AppleWebKit/532.2
(KHTML, like Gecko) Version/1.0 Safari/532.2 Pixi/1.1"

Does this problem coincide with the introduction of the wikipedia appeal banner? If we donate, will it go away....
Comment 8 Aaron 2010-12-07 18:54:20 UTC
There has been no software updates pushed out for the Palm Pre since at least August or September.  

The user agent in the Pre still has the word "Pre" in it as I checked at whatsmyuseragent.com:

"Mozilla/5.0 (webOS/1.4.5; U; en-US)AppleWebKit/532.2 (KHTML, like Gecko)Version/1.0 Safari/532.2 Pre/1.0"

I don't know what changes were made on the website server, but it's something on your end - nothing to do with changes in the Palm Pre browser.
Comment 9 Ben Combee 2010-12-08 21:54:07 UTC
I'm in the Palm developer support group.  I looked at the current page output for something like http://en.m.wikipedia.org/wiki/Banjo and tried the browser with a local copy of the page.

The problem is that in your updated template, you have the lines

<meta name = "viewport" content = "width=device-width; initial-scale=1.0; maximum-scale=1.0;">
<meta name = "viewport" content = "user-scalable=0;" />

The Palm web browser gets confused by two viewport tags.  If you move the new "user-scalable=0" to the first line so it's just

<meta name = "viewport" content = "width=device-width; initial-scale=1.0; maximum-scale=1.0;user-scalable=0;">

then the content works again on webOS.  I'll file a browser bug, but you can fix your end much quicker.
Comment 10 Hampton Catlin 2010-12-08 22:12:27 UTC
Just deployed the recommendation from Ben!

Can someone verify if it worked?
Comment 11 Aaron 2010-12-08 22:14:01 UTC
100% fixed, thank you very much.  

Was not the end of the world, but was just frustrating to deal with this from a very valuable source of mobile information.
Comment 12 Ben Combee 2010-12-08 22:16:17 UTC
Awesome, thanks for the quick response.

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


Navigation
Links