Last modified: 2014-10-28 00:10: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 T51413, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49413 - Allow user to enter a location on Special:Nearby
Allow user to enter a location on Special:Nearby
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Nobody - You can work on this!
https://en.wikipedia.org/wiki/Wikiped...
:
: 63719 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-10 21:38 UTC by PartTimeGnome
Modified: 2014-10-28 00:10 UTC (History)
14 users (show)

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


Attachments

Description PartTimeGnome 2013-06-10 21:38:23 UTC
MediaWiki 1.22wmf5, Extension:MobileFrontend 0.7.0

Per the discussion at https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Passing_a_location_to_Special:Nearby.3F, several Wikipedia users would like to be able to use [[Special:Nearby]] with an arbitrary location, rather than where their browser thinks they are.

There are two parts to this:
  a) Allow linking to "places near XXX", e.g. [[Special:Nearby/44.12,-71.13]].
  b) Allow the user to enter a location directly.

Allowing locations to be specified as a longitude or latitude is useful for tools that generate links (e.g. GeoHack), but is not particularly user-friendly. A further enhancement would be to accept the name of an article and use the coordinates on that article. This would allow the entry of many town names, for example.

As a further benefit, the ability to enter arbitrary place names could mean [[Special:Nearby]] is no longer completely dependent on JavaScript. (JavaScript is needed to use browser geolocation, but is not necessary for direct user entry of a location.)
Comment 1 kipod 2013-06-10 22:10:28 UTC
There was another useful idea in this discussion: 
also allow "Special:Nearby/Page name", which should work when the page in question had a geolocation marker.

Peace.
Comment 2 kolossos 2013-08-28 19:47:38 UTC
With coordinates inside the URL we would be able to include this function into the Geohack.

I'm not only interesting at places where I'm actually be.
Comment 3 Jon 2013-09-05 00:18:40 UTC
The main consideration with doing this is how to distinguish to the user whether they are looking at things near them or near a point of interest which requires design. Also what happens to the refresh button in mobile mode - does this disappear?

Programmatically this is not too hard (we have started experimenting in alpha with this for pages which have coordinates). It might be worth taking a look at that:
https://en.m.wikipedia.org/wiki/Special:MobileOptions?mobileaction=beta
Comment 4 Andre Klapper 2014-04-09 10:55:15 UTC
*** Bug 63719 has been marked as a duplicate of this bug. ***
Comment 5 Tomer A. 2014-04-09 13:00:23 UTC
Bug 63719 has been marked as a duplicate of this one (which I am totally okay with). Do note that the current bug (bug 49413) is marked for "mobileFrontEnd" while the other one (bug 63719) asked this functionality for desktop browsers. 

Providing this functionality for desktops is free of the consideration on "how to distinguish to the user whether they are looking at things near them or near a point of interest" because desktop computers can hardly ever provide automatic GPS data through the browser anyway.
Comment 6 Andre Klapper 2014-04-09 14:29:19 UTC
(In reply to Tomer A. from comment #5)
> Bug 63719 has been marked as a duplicate of this one (which I am totally
> okay with). Do note that the current bug (bug 49413) is marked for
> "mobileFrontEnd" while the other one (bug 63719) asked this functionality
> for desktop browsers. 

Functionality has been made available for desktop browsers in bug 47598 but Special:Nearby is maintained by Mobile. I'm sorry for any confusion.
Comment 7 Gerrit Notification Bot 2014-09-10 00:53:41 UTC
Change 159436 had a related patch set uploaded by MaxSem:
Allow overriding Nearby coordinates

https://gerrit.wikimedia.org/r/159436
Comment 8 Gerrit Notification Bot 2014-10-24 22:55:23 UTC
Change 168208 had a related patch set uploaded by Jdlrobson:
Load nearby by url coordinates and load by page title

https://gerrit.wikimedia.org/r/168208
Comment 9 Gerrit Notification Bot 2014-10-24 23:00:17 UTC
Change 168208 had a related patch set uploaded by Jdlrobson:
Load nearby by url coordinates and load by page title

https://gerrit.wikimedia.org/r/168208
Comment 10 Gerrit Notification Bot 2014-10-27 20:45:43 UTC
Change 168208 merged by jenkins-bot:
Load nearby by url coordinates and load by page title

https://gerrit.wikimedia.org/r/168208
Comment 11 Gerrit Notification Bot 2014-10-28 00:10:21 UTC
Change 159436 abandoned by Jdlrobson:
Allow overriding Nearby coordinates

Reason:
Fixed elsewhere

https://gerrit.wikimedia.org/r/159436

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


Navigation
Links