[openstreetmap/openstreetmap-website] Exclude non-http URLs from tag2link (PR #6587)

Marwin Hochfelsner notifications at github.com
Thu Dec 4 02:28:49 UTC 2025


Change back to the Rinku linkifier instead of indiscriminately linkifying via tag2link, closing #6586, and closing #6407.

Forcing the HTTP also removes the unused telephone link template covered by `telephone_links` and wrongly relative templates like for `ref:wikimaginot` in https://osm.org/relation/19757246
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6587

-- Commit Summary --

  * Exclude non-http URLs from tag2link

-- File Changes --

    M lib/tag2link.rb (4)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6587.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6587.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6587
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6587 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20251203/7d51669c/attachment.htm>


More information about the rails-dev mailing list