maro-21 left a comment (openstreetmap/openstreetmap-website#6407)

> Probably we should just refuse to link anything which doesn't look like an 
> absolute URL

This would be better than the current state because when someone sees no 
clickable link after "website", they could click Edit and correct it.

In cases like [this](https://www.openstreetmap.org/node/10014171184) it's even 
better not to link. Becase the correct link
`https://www.booking.com/hotel/it/giuseppe-amp-giuseppe.html?aid=376372;label=it-5Srxg0e1twJI_ryrey2UnQS267778030993:pl:ta:p1:p22.389.000:ac:ap1t1:neg:fi:tiaud-294889295893:kwd-65526620:lp20533:li:dec:dm;sid=0c7be8913f46cbac0366e17b4cc1c397;frindrecv=1`
 is changed to 3 links:
* https://www.booking.com/hotel/it/giuseppe-amp-giuseppe.html?aid=376372
* 
https://www.openstreetmap.org/node/label=it-5Srxg0e1twJI_ryrey2UnQS267778030993:pl:ta:p1:p22.389.000:ac:ap1t1:neg:fi:tiaud-294889295893:kwd-65526620:lp20533:li:dec:dm
* https://www.openstreetmap.org/node/sid=0c7be8913f46cbac0366e17b4cc1c397

> Incidentally, we’re optimistically linkifying URLs inside other freeform text 
> keys like source=*. This works when there’s a full URL, and in the very 
> common case that the source is merely a domain name, it seems to be working 
> too.

Exactly. I knew I saw links without http that worked. Why linking works with 
[source] but doesn't work with [website]??

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/6407#issuecomment-3369325310
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/issues/6407/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to