<p dir="auto"><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #986.">Closes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="85886333" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/986" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/986/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/986">#986</a>, <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #2405.">Closes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="509516913" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2405" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/2405/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/2405">#2405</a>, <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #3920.">Closes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1572319230" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3920" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3920/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3920">#3920</a>, <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #5200.">Closes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2521633321" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5200" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/5200/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/5200">#5200</a>, Partially <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #11120.">closes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3138211025" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/iD/issues/11120" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/iD/issues/11120/hovercard" href="https://github.com/openstreetmap/iD/issues/11120">openstreetmap/iD#11120</a>, Partially <span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #9510.">closes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1599452164" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/iD/issues/9510" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/iD/issues/9510/hovercard" href="https://github.com/openstreetmap/iD/issues/9510">openstreetmap/iD#9510</a></p>
<p dir="auto">This supersedes <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="615215473" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2621" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/2621/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/2621">#2621</a>. cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/francois2metz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/francois2metz">@francois2metz</a> and <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pyrog/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pyrog">@pyrog</a> from the old PR</p>
<h3 dir="auto">Description</h3>
<p dir="auto">OSM keys like <a href="https://osm.wiki/Key:mapillary" rel="nofollow"><code class="notranslate">mapillary</code></a> are now rendered as a clickable link:</p>
<a href="https://github.com/user-attachments/assets/434df4da-76c8-40c5-a089-f2545d744d97">image.png (view on web)</a>
<p dir="auto">This uses the data aggregated by <a href="https://github.com/JOSM/tag2link">JOSM/tag2link</a>, as <a href="https://github.com/openstreetmap/openstreetmap-website/pull/2621#issuecomment-2660925603" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/2621/hovercard">suggested</a> by Tom, so the logic in this repo is significantly simpler than <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="615215473" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2621" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/2621/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/2621">#2621</a>. It works with semicolons and full URLs in the tag value.</p>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">Unit tests and locally with docker</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/6197'>https://github.com/openstreetmap/openstreetmap-website/pull/6197</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6197/commits/4f3811746609b88b62263fd832bfe1c9c8fc6795" class="commit-link">4f38117</a> use JOSM/tag2link to linkify tag values</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6197/files">5 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6197/files#diff-f787e682da0df0dd52c310ccf1d92b90b1245e4a8951f6f677ed90c09a38a9b2">app/helpers/browse_tags_helper.rb</a>
(11)
</li>
<li>
<strong>A</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6197/files#diff-052461192372e3e15d8a37b584351fa0f6fc02e2020b7aeb6d734e363d97655f">config/initializers/tag2link.rb</a>
(24)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6197/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519">package.json</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6197/files#diff-3c9ba0f9198f856d54c920e1fdd7200521f9b34529cb7e4709eedce6845d5fb7">test/helpers/browse_tags_helper_test.rb</a>
(4)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6197/files#diff-51e4f558fae534656963876761c95b83b6ef5da5103c4adef6768219ed76c2de">yarn.lock</a>
(5)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6197.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6197.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6197.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6197.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6197">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLORFMC5GXOGM6MFOX33IS5KNAVCNFSM6AAAAACBRIR2AKVHI2DSMVQWIX3LMV43ASLTON2WKOZTGIZTCMZXGYYTMMI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPRIUPPLBEAXFMOEUD3IS5KNA5CNFSM6AAAAACBRIR2AKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHMBGXDEE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6197</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6197",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6197",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>