[openstreetmap/openstreetmap-website] Add short links to OSM objects (Issue #5244)
Tom Hughes
notifications at github.com
Tue Oct 1 12:24:35 UTC 2024
Implementing it in the routing here is certainly one possibility yes - it does mean that if you use osm.org then you will get a double redirect.
I don't think we could (or would want to) put it at the top level if it was across all domains, so we'd need something like `/go/` in the existing shortcodes to create a namespace for it.
Yes the existing shortcodes encode the location and (optionally) an object - you can generate them by visiting a node and using the side panel though so you don't need to work anything out.
Then there's the obvious question of what the mapping use-case (as against end user use-case) is for these, and how user's would generate them.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5244#issuecomment-2385638157
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5244/2385638157 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241001/d265a76a/attachment.htm>
More information about the rails-dev
mailing list