Page MenuHomePhabricator

GeoHack's list of mapping service links does not include maps.wikimedia.org
Closed, ResolvedPublic

Description

Many wikipedia articles use coordinate templates that link to https://tools.wmflabs.org/geohack/geohack.php. E.g. San Francisco's two displays of coordinates link to this. geohack in turn displays links to view the coordinates' location in dozens of mapping services, not including https://maps.wikimedia.org. People who use GeoHank may wrongly conclude from the bold green link that "Wikimapia" is Wikimedia's mapping service. English Wikipedia currently uses https://wma.wmflabs.org/ for the in-article interactive maps.

I understand that the goal for maps.wikimedia.org is to one day be so good that it can be embedded when clicking the coordinates, but for now we should add maps.wikimedia.org to GeoHack.

It appears that GeoHack loads a template for its laundry list of mapping services from https://en.wikipedia.org/wiki/Template:GeoTemplate , so someone merely needs to be bold and add links of the form:

[//maps.wikimedia.org/#/{osmzoom}/{latdegdec}/{londegdec} Wikimedia's super-awesome OSM-based map service]

to this template (and on other wikis). I made the sort of change required in this diff to Template:GeoTemplate/sandbox, but I don't know how to test the sandbox template on tools.wmflabs.org/geohack. It seems some quick live testing of an edit to the actual template is all that's needed.

Event Timeline

Spage raised the priority of this task from to Needs Triage.
Spage updated the task description. (Show Details)
Spage added a project: Maps.
Spage added a subscriber: Spage.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Krinkle added subscribers: Magnus, Krinkle.

GeoHack is operated by @Magnus.

The source code at https://bitbucket.org/magnusmanske/geohack/src/master/public_html/ does not indicate any way to use the sandbox directly in the tool.

Yurik claimed this task.

some geohacks have added maps.wikimedia.org to their lists. I don't think our goal is to replace all the features offered by the more mature mapping services, so a link to maps.wikimedia.org is not that useful - instead, it will hopefully be used as the informative data source, and other services can always be looked offered as external links.