Last modified: 2014-02-12 23:53:21 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 T49374, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47374 - "Donate Image" button shows on Windows Phone 8 (mobile IE 10), but does not work
"Donate Image" button shows on Windows Phone 8 (mobile IE 10), but does not work
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Jon
http://en.m.wikipedia.org/wiki/Specia...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-18 19:28 UTC by Brion Vibber
Modified: 2014-02-12 23:53 UTC (History)
9 users (show)

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


Attachments

Description Brion Vibber 2013-04-18 19:28:30 UTC
The 'Donate Image' button shows on Special:Uploads on Windows Phone 8, but tapping on the button has no effect.

Tested so far in the SDK emulator, not yet on an actual phone -- should double check on real device.

It looks like IE10 on Windows Phone 8 doesn't support file uploads per <http://blogs.windows.com/windows_phone/b/wpdev/archive/2012/11/08/internet-explorer-10-brings-html5-to-windows-phone-8-in-a-big-way.aspx>

So we should see if there's a clean way to detect it's not supported. <input type="file"> looks like the traditional file input control on Special:Upload but also does nothing when tapped.
Comment 1 Brion Vibber 2013-04-18 19:40:40 UTC
So I did a little testing under the SDK emulator.

input.disabled is "false" (unlike old iOS which set disabled to true)
input.type is "file" (unlike Firefox OS's attempt to expose disabled inputs by changing their type)
input.readOnly is "false", so that doesn't help
input.files is a FileList object, even though you can't read any files out of it ever because you can't select them.

May just have to blacklist the user-agent. :P
Comment 2 Jon 2013-04-19 14:34:51 UTC
iOS emulator disables file inputs so hopefully this is just a weird emulator oddity ...!
Comment 3 Brion Vibber 2013-04-19 17:18:38 UTC
iOS 6.1 simulator seems to work fine; I can click 'donate image' and select something from my gallery successfully...

We'll see when we get our hands on a WP8 device... :)
Comment 4 Michelle Grover 2013-04-27 00:38:43 UTC
Assigned Mingle Ticket https://mingle.corp.wikimedia.org/projects/mobile/cards/730
Comment 5 Brion Vibber 2013-04-28 16:42:24 UTC
I picked up a WP8 phone over the weekend, we'll test it later. :D
Comment 6 Brion Vibber 2013-04-29 22:31:53 UTC
Confirmed the button shows up but is non-functional on a Nokia Lumia 920. :(
Comment 7 Jon 2013-04-30 14:17:05 UTC
Ergg that's annoying. Will have to borrow your phone to debug this one :)
Comment 9 Gerrit Notification Bot 2013-05-14 17:38:59 UTC
Related URL: https://gerrit.wikimedia.org/r/63689 (Gerrit Change I4e18b23510df67e2e8131d645184673f419830c4)
Comment 10 Gerrit Notification Bot 2013-05-14 17:46:51 UTC
https://gerrit.wikimedia.org/r/63689 (Gerrit Change I4e18b23510df67e2e8131d645184673f419830c4) | change APPROVED and MERGED [by Brion VIBBER]

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


Navigation
Links