Last modified: 2014-02-12 23:47:43 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 T50268, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48268 - Special:Nearby shows "NaN km" as the distance on Firefox
Special:Nearby shows "NaN km" as the distance on Firefox
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
beta (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Jon
https://en.m.wikipedia.org/wiki/Speci...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-08 18:26 UTC by Amir E. Aharoni
Modified: 2014-02-12 23:47 UTC (History)
9 users (show)

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


Attachments

Description Amir E. Aharoni 2013-05-08 18:26:21 UTC
I tried using Special:Nearby in the English Wikipedia from my laptop (without GPS). In Firefox it showed some nearby places, but with "NaN km" as the distance. In Chrome on the same computer and on my GPS-enabled phone it showed a distance.

Laptop OS: Fedora 18.
Comment 1 Amir E. Aharoni 2013-05-08 19:29:48 UTC
Update: on my phone it shows "NaN km" in Firefox 20 for Android, and proper number of kilometers in the stock WebKit browser. So it's probably a Gecko issue.
Comment 2 Gerrit Notification Bot 2013-05-09 01:38:37 UTC
Related URL: https://gerrit.wikimedia.org/r/62944 (Gerrit Change I31f860c2aa392ac0162f767cdf112f5f10a3913e)
Comment 3 Jon 2013-05-09 01:39:40 UTC
Turns out you can't $.toJSON the result the object passed by the watchPosition handler. WHO KNEW?!!?

https://gerrit.wikimedia.org/r/#/c/62944/
Comment 4 Gerrit Notification Bot 2013-05-09 19:50:16 UTC
https://gerrit.wikimedia.org/r/62944 (Gerrit Change I31f860c2aa392ac0162f767cdf112f5f10a3913e) | change APPROVED and MERGED [by MaxSem]

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


Navigation
Links