Jump to content

User talk:Evad37/GeoHack replacement script.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Not working on Wikidata

@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?

@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]