Template talk:OSM relation
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
Large graphical templates
[edit]Pls see Wikipedia talk:External links#Large graphical templates.Moxy (talk) 16:10, 9 September 2011 (UTC)
Feature Request
[edit]OSM node, e.g. {{OSM node|Open Street Map relation number}}, is not implemented. Does anyone know the reason behind this? This would allow us to link to things like: http://www.openstreetmap.org/node/1766486405 — Preceding unsigned comment added by Snodnipper (talk • contribs) 14:52, 24 September 2016 (UTC)
- OSM node IDs are not stable. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:58, 24 September 2016 (UTC)
- Thanks Andy. Is this documented anywhere? Whilst I accept that a single OSM node can be easily deleted, so too can a way or relation. Furthermore, I don't actually see this as being any different to any external URL, which of course can and do change. --Snodnipper (talk) 15:00, 24 September 2016 (UTC)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please could we create a corresponding template for nodes. For example:
- Geographic data related to OSM relation at OpenStreetMap <-- works
- Geographic data related to OSM relation at OpenStreetMap <-- works
- {{Osmnode |254815863}} <-- DOES NOT WORK
Snodnipper (talk) 14:09, 24 September 2016 (UTC)
- @Snodnipper: Wikipedia:Requested templates is a better place to ask. Jo-Jo Eumerus (talk, contributions) 15:25, 24 September 2016 (UTC)
- @Snodnipper: You can use {{OSM|n|254815863}} which produces "254815863 OSM relation on OpenStreetMap" but I'll see about making {{osmnode}} Doodle77 (talk) 21:03, 2 January 2017 (UTC)
- @Doodle77: That would be great Snodnipper (talk) 16:48, 22 January 2017 (UTC)
Please use up-to-date HTTPS URLs for OSM relation links
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The purpose of this edit is to reduce the number of HTTP redirects and to provide increased privacy and security for users by using up-to-date HTTPS URLs for OSM relation links. In the template, please change each instance of http://www.openstreetmap.org/browse/relation/
(there are two instances) to https://www.openstreetmap.org/relation/
instead. Thanks. --Elegie (talk) 07:00, 9 May 2017 (UTC)
- Done - I'm pretty sure you've made enough of these requests & sandboxed enough of them to qualify for TE. Cabayi (talk) 08:31, 9 May 2017 (UTC)
Feature Request get Relation ID from WikiData
[edit]I'd like to get the OSM relation ID from Wikidata OpenStreetMap relation ID (P402). The P402 property is used 45,000 times in Wikidata [1]. If the data already exists, I am of the opinion that there should be an easy template to get at it.
A way to implement this might be to have empty first (1) parameter could cause the template to check P402 on wikidata through m:Help:Template#Empty_vs_undefined.
The new template syntax could be:
{{OSM relation||plain=yes}}
Currently, there are almost 1,000 uses of this template, [2], but this template is only used on English Wikipedia.
My question is: Should this template be modified to be able to us P402 from Wikidata?
Sorry, if I am over linking, but template programming is new to me. Thank you! -- MicahDCochran (talk) 17:40, 1 July 2017 (UTC)