[openstreetmap/openstreetmap-website] use JOSM/tag2link to linkify tag values (PR #6197)
Kyℓe Hensel
notifications at github.com
Sat Jul 19 08:56:48 UTC 2025
k-yle left a comment (openstreetmap/openstreetmap-website#6197)
i think excluding all [`wikidata:P3303`](https://wikidata.org/wiki/Property:P3303) is reasonable. There are only 4 keys where every URL is unofficial (`icao`, `ref:admiralty`, `ref:UAI`, `uic_ref`). So these 4 would have no link.
<details><summary>source</summary>
```js
const { default: list } = await import('https://esm.sh/tag2link');
Object.values(
Object.groupBy(
list.filter(item => item.rank !== 'deprecated'),
item => item.key
)
).filter(sublist => sublist.every(item => item.source === 'wikidata:P3303'));
```
</details>
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6197#issuecomment-3092187748
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6197/c3092187748 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250719/7cffde54/attachment.htm>
More information about the rails-dev
mailing list