<span style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">
<blockquote>
<p dir="auto">There is a difference with changing how things that are already detected as links look and the rest. You don't expect "I added a note 5 years ago" to link to note <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2376689" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5">#5</a> but that's what you'll get with those formats.</p>
</blockquote>
<p dir="auto">Requiring a minimum number of digits would cover most false positives like that, we don't need it to work on note number 5.</p>
<blockquote>
<p dir="auto">GitHub gets around this problem by requiring a # in front of the number, or the full URL. Even just detecting and linkifying the URL would be a significant improvement.</p>
</blockquote>
<p dir="auto">Agreed, we could start by only doing note/X, noteX and the full note URL (where X is > 4 characters).</p>
<p dir="auto">Personally I'm not a fan of the shorterned osm.org domain, as pointed out on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2945144992" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5844" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5844/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5844">#5844</a> people might be be confused if osm.org is the official openstreetmap.org or if it's a different site.</p>
<p dir="auto">I still think we should go further per my proposed here and remove the domain name entirely in the display text, while still allowing the link to work when text is copy pasted.</p><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/issues/5780#issuecomment-2763048895">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLP2BAGBTTTI76AULJ32WYFAJAVCNFSM6AAAAABYTNFWRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONRTGA2DQOBZGU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPT67CGLOUICIOSO332WYFAJA5CNFSM6AAAAABYTNFWRCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVEWDD36.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/issues/5780/2763048895</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
</span>
<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img alt="andrewharvey" height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/117278?s=20&v=4" /><strong>andrewharvey</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/issues/5780#issuecomment-2763048895">(openstreetmap/openstreetmap-website#5780)</a></div>
<blockquote>
<p dir="auto">There is a difference with changing how things that are already detected as links look and the rest. You don't expect "I added a note 5 years ago" to link to note <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2376689" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5">#5</a> but that's what you'll get with those formats.</p>
</blockquote>
<p dir="auto">Requiring a minimum number of digits would cover most false positives like that, we don't need it to work on note number 5.</p>
<blockquote>
<p dir="auto">GitHub gets around this problem by requiring a # in front of the number, or the full URL. Even just detecting and linkifying the URL would be a significant improvement.</p>
</blockquote>
<p dir="auto">Agreed, we could start by only doing note/X, noteX and the full note URL (where X is > 4 characters).</p>
<p dir="auto">Personally I'm not a fan of the shorterned osm.org domain, as pointed out on <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2945144992" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/5844" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/5844/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/5844">#5844</a> people might be be confused if osm.org is the official openstreetmap.org or if it's a different site.</p>
<p dir="auto">I still think we should go further per my proposed here and remove the domain name entirely in the display text, while still allowing the link to work when text is copy pasted.</p>
<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/issues/5780#issuecomment-2763048895">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLP2BAGBTTTI76AULJ32WYFAJAVCNFSM6AAAAABYTNFWRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONRTGA2DQOBZGU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPT67CGLOUICIOSO332WYFAJA5CNFSM6AAAAABYTNFWRCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVEWDD36.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/issues/5780/2763048895</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/issues/5780#issuecomment-2763048895",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/5780#issuecomment-2763048895",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>