User talk:Evad37/GeoHack replacement script.js

Latest comment: 3 years ago by NMaia in topic Broken?

Not working on Wikidata edit

@Evad37: Hi there. It seems this script is not working on Wikidata. See d:Q31204347 for instance. The coordinates link to GeoHack instead of OSM, which I have selected. Can you reproduce the problem? ~nmaia d 01:16, 28 May 2020 (UTC)Reply

@NMaia: Wikidata creates the geohack links a bit after the page has loaded, and formats them slightly differently, which was why it didn't work.   Fixed now. - Evad37 [talk] 01:19, 29 May 2020 (UTC)Reply

Broken? edit

@Evad37: It seems the script isn't working (at least on my side) either in Wikipedia or Wikidata. See Naka-Meguro Station and d:Q1132605. ~nmaia d 05:20, 28 July 2020 (UTC)Reply

@NMaia:   Fixed. The urls for geohack were changed, so this script needed to be updated to find the new urls. - Evad37 [talk] 03:30, 5 August 2020 (UTC)Reply
@Evad37:: Thank you! As an aside, it would be nice to have this also working at Commons. See c:Template:Location. ~nmaia d 01:09, 10 August 2020 (UTC)Reply