<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/16009897?s=20&v=4" /><strong>k-yle</strong> left a comment <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6197#issuecomment-3111965548">(openstreetmap/openstreetmap-website#6197)</a></div>
<blockquote>
<p dir="auto">[...] none of the entries have <code class="notranslate">rank=deprecated</code></p>
</blockquote>
<p dir="auto">Tag2link <a href="https://github.com/JOSM/tag2link/blob/eacf0ec9b5a39611f83515f2b3d7abed226187cb/tag2link.dataitem.sparql#L6">exclud</a><a href="https://github.com/JOSM/tag2link/blob/eacf0ec9b5a39611f83515f2b3d7abed226187cb/tag2link.wikidata.sparql#L10">es deprecated ranks</a> itself (as of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1217235366" data-permission-text="Title is private" data-url="https://github.com/JOSM/tag2link/issues/3" data-hovercard-type="issue" data-hovercard-url="/JOSM/tag2link/issues/3/hovercard" href="https://github.com/JOSM/tag2link/issues/3">JOSM/tag2link#3</a>), but we also explicitly exclude deprecated ranks in case the behaviour changes upstream.</p>
<blockquote>
<p dir="auto">Google+ as an example is marked as deprecated on the OSM Wiki / taginfo [...]</p>
</blockquote>
<p dir="auto">The word "deprecated" is used for two different purposes on the wiki. A tag can have "<a href="https://osm.wiki/Tag_status" rel="nofollow">status</a>=deprecated" in the OSM wiki's infobox. This is different to "<a href="https://wikidata.org/wiki/Help:Ranking" rel="nofollow">rank</a>=deprecated" in wikibase. The tag <a href="https://osm.wiki/Tag_status" rel="nofollow">status</a> is irrelevant here.</p>
<blockquote>
<p dir="auto">So it seems that wikidata takes precedence over the wiki?</p>
</blockquote>
<p dir="auto">We don't prioritise based on source, only <a href="https://github.com/openstreetmap/openstreetmap-website/blob/981d9750bab9f9dd548103d3ab0f783cca68adf0/config/initializers/tag2link.rb#L11">based on rank</a>. For Google+:</p>
<ul dir="auto">
<li>On the OSM wiki, <a href="https://osm.wiki/Item:Q1184" rel="nofollow">Key:contact:google_plus <sub>(Q1184)</sub></a> has no <a href="https://osm.wiki/Property:P8" rel="nofollow">formatter URL <sub>(P8)</sub></a></li>
<li>On wikidata, <a href="https://wikidata.org/wiki/Property:P2847" rel="nofollow">Google+ ID<sub>(P2847)</sub></a> does have a <a href="https://www.wikidata.org/wiki/Property:P1630" rel="nofollow">formatter URL<sub>(P1630)</sub></a>, which is what tag2link <a href="https://github.com/JOSM/tag2link/blob/eacf0ec9b5a39611f83515f2b3d7abed226187cb/index.json#L176-L181">is using</a>.</li>
</ul>
<blockquote>
<p dir="auto">What would be really helpful would be some kind of documentation [...]</p>
</blockquote>
<p dir="auto">There's <a href="https://github.com/JOSM/tag2link#osm-wiki-data">a little bit of documentation here</a>, I could create an OSM Wiki page with more info (?) or were you thinking of more documentation on GitHub?</p>
<blockquote>
<p dir="auto">How often is the NPM updated</p>
</blockquote>
<p dir="auto">seems to be <a href="https://github.com/JOSM/tag2link/blob/eacf0ec9b5a39611f83515f2b3d7abed226187cb/.github/workflows/scheduled_update.yaml#L4">automatically updated on the 21st day</a> of the month.</p>
<blockquote>
<p dir="auto">[...] and who should we contact if the updates somehow get stuck?</p>
</blockquote>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stoecker/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stoecker">@stoecker</a> I assume you're the current maintainer?</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/pull/6197#issuecomment-3111965548">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOLL533CZRARKM2AYT3KBR27AVCNFSM6AAAAACBRIR2AKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMJRHE3DKNJUHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLM5CFBAG7EULBGYOSL3KBR27A5CNFSM6AAAAACBRIR2AKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVZPTJWY.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/c3111965548</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#issuecomment-3111965548",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6197#issuecomment-3111965548",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>