Page MenuHomePhabricator

Add a coordinate picker to Codex
Open, Needs TriagePublic

Description

The 7th most popular request in this year's Wishlist survey was a coordinate picker. The simplest version of this would just be an interface that displays maps.wikimedia.org, let's you click on it somewhere, and returns the coordinates you clicked on. Adding an interface for looking up addresses would require a 3rd party API, so I think we should defer that.

Note that Community Tech is only working on the top 5 proposals from this year's wishlist, so this wish will not be worked on by them.

Event Timeline

  • Do you really mean "to OOUI", the library, or just as a MediaWiki widget? Are there use cases where adding this heavy functionality is necessary for non-MediaWiki environment tools e.g. things on ToolForge, or is this for use in extensions and gadgets?
  • The UploadWizard extension already has a rudimentary location-picker based on OOUI. Presumably this is insufficient? What features is it missing?
  • The Kartographer extension already has a rather advanced geo-plot picker, basedon OOUI and Leaflet. Presumably this is too complicated/heavyweight?
  • Who can answer these questions so that the right thing is built for the needs of the people voting in favour of it?

Do you really mean "to OOUI", the library, or just as a MediaWiki widget? Are there use cases where adding this heavy functionality is necessary for non-MediaWiki environment tools e.g. things on ToolForge, or is this for use in extensions and gadgets?

Either one is probably fine.

The UploadWizard extension already has a rudimentary location-picker based on OOUI. Presumably this is insufficient? What features is it missing?

This is the opposite of what is wanted. In UploadWizard you enter a latitude and longitude and then it shows it to you on the map (AFAIK). They want to be able to click on a map and the latitude and longitude get filled in based on where they clicked.

The Kartographer extension already has a rather advanced geo-plot picker, based on OOUI and Leaflet. Presumably this is too complicated/heavyweight?

Can you point me to some documentation for that? From your description I'm guessing that it's too complicated/heavyweight. The ideal widget would just be a simple line of JavaScript that you can add to your gadget or extension. There are half a dozen of these that exist as jQuery plug-ins or 3rd party widgets, but they all rely on Google Maps.

Volker_E renamed this task from Add a coordinate picker to OOUI to Add a coordinate picker to Codex.Tue, Jun 25, 2:18 PM
Volker_E edited projects, added Codex; removed OOUI.