https://bugzilla.wikimedia.org/show_bug.cgi?id=53342
Web browser: ---
Bug ID: 53342
Summary: Improve Error handling of GeoLocation api
Product: MediaWiki extensions
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: MobileFrontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Currently the code simply prints an error. This error however doesn't take into
account the cause of the geolocation failure. I was getting messages that my
signal wasn't good, but the true reason was that I had simply disable all
Safari location permissions. I was genuinely confused.
So in the nearby.js error handler, pass the error to the error handler and
print appropriate messages depending on the cause of the failure:
https://developer.mozilla.org/en-US/docs/Web/API/PositionError
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l