<p>In Thailand, it is very common for moderate-sized stores and SME companies to provide multiple phone numbers rather than using single-number trunk line. (And you are expected to try the alternate numbers if you got a busy signal) These occurences are documented as such in my mapping journey by using the usual <a href="https://wiki.openstreetmap.org/wiki/Semi-colon_value_separator" rel="nofollow">semicolon-separated values</a>.</p>
<p>The problem is, main OpenStreetMap interface <strong>does not seem to mark <em>any</em> <code>tel:</code> link on POI's <a href="https://wiki.openstreetmap.org/wiki/Key:phone" rel="nofollow"><code>phone</code></a> key if this field contains semicolon separator(s)</strong>. This leaves numbers in affected POIs as plain text, and user must manually select and copy each of them into a dialer when they need to call-- a minor incovenience for desktop, but very painful for mobile.</p>
<p>Examples and screenshots:</p>
<ul>
<li>
<p><a href="https://www.openstreetmap.org/way/637578269" rel="nofollow">Nan Wan</a></p>
<pre><code> phone = +66 86 394 4382;+66 62 559 6156
</code></pre>
<p><a target="_blank" rel="noopener noreferrer" href="https://camo.githubusercontent.com/83fd029f1f50846b734f6ef0020dd2dbf642971f/68747470733a2f2f752e6375626575706c6f61642e636f6d2f7877696e646f77732f6441354768562e706e67"><img src="https://camo.githubusercontent.com/83fd029f1f50846b734f6ef0020dd2dbf642971f/68747470733a2f2f752e6375626575706c6f61642e636f6d2f7877696e646f77732f6441354768562e706e67" alt="" data-canonical-src="https://u.cubeupload.com/xwindows/dA5GhV.png" style="max-width:100%;"></a></p>
</li>
<li>
<p><a href="https://www.openstreetmap.org/way/48966995" rel="nofollow">Bangkok Art and Culture Centre</a></p>
<pre><code> phone = +66 2 214 6630;+66 2 214 6631;+66 2 214 6632;+66 2 214 6633;+66 2 214 6634;+66 2 214 6635;+66 2 214 6636;+66 2 214 6637;+66 2 214 6638
</code></pre>
<p><a target="_blank" rel="noopener noreferrer" href="https://camo.githubusercontent.com/d1e7606c6d7bc5be15467b7ae689546c27cc70d7/68747470733a2f2f752e6375626575706c6f61642e636f6d2f7877696e646f77732f7456756670732e706e67"><img src="https://camo.githubusercontent.com/d1e7606c6d7bc5be15467b7ae689546c27cc70d7/68747470733a2f2f752e6375626575706c6f61642e636f6d2f7877696e646f77732f7456756670732e706e67" alt="" data-canonical-src="https://u.cubeupload.com/xwindows/tVufps.png" style="max-width:100%;"></a></p>
</li>
<li>
<p><a href="https://www.openstreetmap.org/node/5304732122" rel="nofollow">Krungdeb Co-Operative Store</a></p>
<pre><code> phone = +66 2 281 8228;+66 2 282 2489;+66 2 629 4265; +66 2 629 4266
</code></pre>
<p><a target="_blank" rel="noopener noreferrer" href="https://camo.githubusercontent.com/b210b90198e85718fabcd1c5bd96feba9dca51ce/68747470733a2f2f752e6375626575706c6f61642e636f6d2f7877696e646f77732f5439697858302e706e67"><img src="https://camo.githubusercontent.com/b210b90198e85718fabcd1c5bd96feba9dca51ce/68747470733a2f2f752e6375626575706c6f61642e636f6d2f7877696e646f77732f5439697858302e706e67" alt="" data-canonical-src="https://u.cubeupload.com/xwindows/T9ixX0.png" style="max-width:100%;"></a></p>
</li>
</ul>
<p>You would see that the telephone numbers are not autolinked. See <em>Notes</em> below for more (many, many more) examples.</p>
<p>Compare and contrast with POI bearing a single phone number:</p>
<ul>
<li>
<p><a href="https://www.openstreetmap.org/way/234856667" rel="nofollow">Pat Vintage Cafe</a></p>
<p><code>phone = +66 2 116 9966</code></p>
<p><a target="_blank" rel="noopener noreferrer" href="https://camo.githubusercontent.com/a533ae8d95450367cfdfb123ec5af311a6dd0f09/68747470733a2f2f752e6375626575706c6f61642e636f6d2f7877696e646f77732f364470514e552e706e67"><img src="https://camo.githubusercontent.com/a533ae8d95450367cfdfb123ec5af311a6dd0f09/68747470733a2f2f752e6375626575706c6f61642e636f6d2f7877696e646f77732f364470514e552e706e67" alt="" data-canonical-src="https://u.cubeupload.com/xwindows/6DpQNU.png" style="max-width:100%;"></a></p>
<p>You would see from the tooltip that phone number field is properly linked to tel:+6621169966.</p>
</li>
</ul>
<p>Please investigate and fix.</p>
<p>Browser: Opera 11.64 (Win32)<br>
System: Microsoft Windows XP Professional SP3</p>
<hr>
<h3>Notes</h3>
<ul>
<li><strong>Large number of places are affected by this</strong> (~10k nodes and ~6k ways POI).
<ul>
<li>Overpass (<a href="https://overpass-turbo.eu/?Q=%28node%5B%7E%22%5E%28contact%3A%29%3Fphone%28%3A.%2B%29%3F%24%22%7E%22%3B%22%5D%3B%28way%5B%7E%22%5E%28contact%3A%29%3Fphone%28%3A.%2B%29%3F%24%22%7E%22%3B%22%5D%3B%28._%3B%3E%3B%29%3B%29%3B%29-%3E._%3Bout%3B&R" rel="nofollow">Turbo</a> | <a href="https://overpass-api.de/api/interpreter?data=%28node%5B%7E%22%5E%28contact%3A%29%3Fphone%28%3A.%2B%29%3F%24%22%7E%22%3B%22%5D%3B%28way%5B%7E%22%5E%28contact%3A%29%3Fphone%28%3A.%2B%29%3F%24%22%7E%22%3B%22%5D%3B%28._%3B%3E%3B%29%3B%29%3B%29-%3E._%3Bout%3B" rel="nofollow">Raw</a>) takes several minutes to enumerate them all.</li>
<li>Try this Overpass <a href="https://overpass-turbo.eu/?Q=%28node%5B%7E%22%5E%28contact%3A%29%3Fphone%28%3A.%2B%29%3F%24%22%7E%22%3B%22%5D%28%7B%7Bbbox%7D%7D%29%3B%28way%5B%7E%22%5E%28contact%3A%29%3Fphone%28%3A.%2B%29%3F%24%22%7E%22%3B%22%5D%28%7B%7Bbbox%7D%7D%29%3B%28._%3B%3E%3B%29%3B%29%3B%29-%3E._%3Bout%3B" rel="nofollow">Turbo+BBox</a> query if you would like to look for them in specific area.</li>
</ul>
</li>
<li><strong>This problem is a server-side quirk.</strong>
<ul>
<li>It is not browser-specific.</li>
<li>The result is essentially the same when JavaScript is turned off.</li>
</ul>
</li>
<li>I'm not sure if <a href="https://wiki.openstreetmap.org/wiki/Key:fax" rel="nofollow"><code>fax</code></a>, <a href="https://wiki.openstreetmap.org/wiki/Key:contact" rel="nofollow"><code>contact:phone</code></a>, and <a href="https://wiki.openstreetmap.org/wiki/Key:contact" rel="nofollow"><code>contact:fax</code></a> key are also affected or not. If they are, the same provision should apply (so as their suffix keys).</li>
<li>Before anyone bring up the <code>:mobile</code> suffix of the <code>phone</code> key, please note that phone numbers of <em>Nan Wan</em> restaurant are <em>both</em> mobile. (The rest of them are <em>all</em> landline)</li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2069">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLR55W19lBa5HKu42-OlZgw-D1NBWks5uxtqlgaJpZM4Yvs6e">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLfSMp2SOvCClGYgX1cUm26gUnyukks5uxtqlgaJpZM4Yvs6e.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Properly mark `tel:` link on multiple phone numbers in the POI (#2069)"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/2069"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2069",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2069",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Properly mark `tel:` link on multiple phone numbers in the POI (#2069)",
"sections": [
{
"text": "",
"activityTitle": "**Nutchanon Wetchasit**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@nachanon",
"facts": [
{
"name": "Repository: ",
"value": "openstreetmap/openstreetmap-website"
},
{
"name": "Issue #: ",
"value": 2069
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 2069,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"openstreetmap/openstreetmap-website\",\n\"issueId\": 2069\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/openstreetmap-website/issues/2069"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 415157918\n}"
}
],
"themeColor": "26292E"
}
]</script>