Community Wishlist Survey 2019/Maps/Replace GeoHack with Kartographer

Replace GeoHack with Kartographer

WikiMiniAtlas/GeoHack interface
  • Problem: Even though the Wikimedia projects now have their own map service, Kartographer, some wikis such as English Wikipedia still use the old GeoHack service hosted on Tool Forge (e.g. in WikiMiniAtlas). This is mostly just because converting the old Lua modules is complicated, not because those projects actually want to keep using GeoHack (see for example, the discussion on English Wikipedia). Additionally, the use of GeoHack (which is essentially a 3rd party service) has privacy and security concerns that would be eliminated by switching to Kartographer.
  • Who would benefit: Users of Wikipedias that haven't yet migrated from GeoHack
  • Proposed solution: Migrate en:Module:Coordinates to use Kartographer and make the module available to all wikis by bundling it with the Scribunto extension (or the Kartographer extension).
  • More comments:


  • Switching GeoHack to Kartographer in the Coordinates module is quite simple. We did this in Russian Wikipedia almost two years ago (see ru:Module:Coordinates). There are more social issues. For example, what to do with coordinates for other planets? Or should there be links to external maps? PS: If any projects want to use Kartographer, I’m ready to help with this. — putnik 09:09, 30 October 2018 (UTC)
  • There are two problems here: one WMA, which is the map being presented. This is rather easy to replace even when we fully keep using geohack. That is basically what my mobile gadget does already and could be expanded to desktop easily. To replace geohack (which ALSO would replace WMA, as WMA depends on geohack) is a lower level discussion. For this I have created a sandbox version of en:Module_talk:Coordinates/testcases, which uses maplink instead of geohack where possible. I think however that the myriad of problems listed in Community Wishlist Survey 2019/Miscellaneous/Wikimedia Maps Improvements could derail any kind of discussion that would be held on it, which I personally have therfore not kickstarted yet (time and brain drain). I also see a slight problem with that the maplink created doesn't have a proper no-js target link fallback (Do we even have a ticket for that?). —TheDJ (talkcontribs) 10:15, 30 October 2018 (UTC)
  • Personally I'd be reluctant to abandon GeoHack mostly due to Kartographer not allowing on-wiki customization for both global and regional map services (T152971, T146534). Pikne 11:54, 30 October 2018 (UTC)
    • I guess you community tech could address these two issues if this wish is successful, or as a part of the maps wish above. Gryllida 22:40, 30 October 2018 (UTC)


  •   Support EneaSuper (talk) 13:52, 27 November 2018 (UTC)
  •   Support Liuxinyu970226 (talk) 08:28, 17 November 2018 (UTC)
  •   Support ZellmerLP (talk) 10:10, 17 November 2018 (UTC)
  •   Oppose As far as I can tell Kartographer does not have any links to Google or Bing maps, only OSM maps which don't show contours, landscape or any other information on the terrain. I am quite willing to bet that most actual readers - as opposed to editors - want more than just a road map when they go to a coordinate. Jo-Jo Eumerus (talk, contributions) 10:17, 17 November 2018 (UTC)
    @Jo-Jo Eumerus: It does; if you open the big map view the "External maps" button at the bottom right lists various different maps. Jc86035 (talk) 10:49, 17 November 2018 (UTC)
  •   Support ديفيد عادل وهبة خليل 2 (talk) 10:58, 17 November 2018 (UTC)
  •   Support Jc86035 (talk) 11:44, 17 November 2018 (UTC)
  •   Support DerFussi 14:11, 17 November 2018 (UTC)
  •   Support Nouill (talk) 15:04, 17 November 2018 (UTC)
  •   Support ··· 🌸 Rachmat04 · 18:30, 17 November 2018 (UTC)
  •   Support Amir (talk) 19:21, 17 November 2018 (UTC)
  •   Support Yamaha5 (talk) 20:35, 17 November 2018 (UTC)
  •   Support Tim Landscheidt (talk) 01:38, 18 November 2018 (UTC)
  •   Support NMaia (talk) 10:34, 18 November 2018 (UTC)
  •   Support فرهنگ2016 (talk) 10:41, 18 November 2018 (UTC)
  •   Support Fatemi 18:53, 18 November 2018 (UTC)
  •   Support Shizhao (talk) 02:47, 19 November 2018 (UTC)
  • I can't support this with the way Kartographer's maplink currently works. I hate having to use it because it makes it really slow, annoying and complicated to get to other map services, which is something I do a lot. In GeoHack I can quickly scan the page for the service I want and then click it. Kartographer requires moving the mouse all over the screen, clicking multiple times, reading multiple lists and it even forces me to stop and think about which category the service will be hidden under. Then it forces the links to open in a new tab, instead of letting me choose whether to open them in new tabs or not. - Nikki (talk) 10:12, 19 November 2018 (UTC)
    @Nikki: If you look at the top right corner of (for example) ru:Россия, you have one-click links for GeoHack, Google, Yandex and OpenStreetMap. Even better, as Kartographer is part of the MediaWiki UI, you can use your own user scripts to do literally anything you want to customize. --Tim Landscheidt (talk) 20:34, 28 November 2018 (UTC)
  •   SupportTheDJ (talkcontribs) 13:49, 19 November 2018 (UTC)
  •   Support Shmurak (talk) 08:41, 20 November 2018 (UTC)
  •   Support Novak Watchmen (talk) 01:29, 21 November 2018 (UTC)
  •   Support Sturm (talk) 04:48, 21 November 2018 (UTC)
  •   Support Vulphere 07:15, 21 November 2018 (UTC)
  •   Support Jack who built the house (talk) 18:30, 21 November 2018 (UTC)
  •   Support Zorzo Mirco (talk) 09:32, 22 November 2018 (UTC)
  •   Support MarcoMinghini (talk) 14:29, 22 November 2018 (UTC)
  •   Support Spacearcangel (talk) 18:56, 22 November 2018 (UTC)
  •   Support SalmanZ (talk) 21:17, 22 November 2018 (UTC)
  •   Support Ederporto (talk) 16:06, 23 November 2018 (UTC)
  •   Support Sahaquiel9102 (talk) 17:20, 23 November 2018 (UTC)
  •   Support Sannita - not just another sysop 00:47, 24 November 2018 (UTC)
  •   Support Matěj Suchánek (talk) 09:10, 24 November 2018 (UTC)
  •   Support Sorcrosc (talk) 03:06, 25 November 2018 (UTC)
  •   Support HeinrichStuerzl (talk) 20:01, 25 November 2018 (UTC)
  •   Support Filipović Zoran (talk) 19:44, 26 November 2018 (UTC)
  •   Support General Rommel (talk) 00:41, 27 November 2018 (UTC)
  •   Support Amir E. Aharoni (talk) 11:14, 27 November 2018 (UTC)
  •   Support GAllegre (talk) 13:48, 27 November 2018 (UTC)
  •   Support Phoe6 (talk) 03:33, 29 November 2018 (UTC)