<ol>
<li>The relations that a /node, /way or a /relation belongs to should be listed first, just after object's tags. See issue <a href="https://github.com/openstreetmap/openstreetmap-website/issues/794" class="issue-link js-issue-link" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/794" data-id="38940480" data-error-text="Failed to load issue title" data-permission-text="Issue title is private">#794</a> . I was really happy when I saw someone has already requested it.</li>
</ol>
<p><strong><em>Rationale:</em></strong> Relations are more important and give more important information, than the list of nodes in a /way.</p>
<ol start="2">
<li>Those relations should have a wikipedia icon if there is a wikipedia article listed for relation and a website (or link) icon if a website is defined for relation. Actually, it would be good to have it for ways and nodes as well. These icons should be interactive and open wikipedia or website <em>in a new tab</em> in browser.</li>
</ol>
<p><strong><em>Rationale:</em></strong> This way a mapper will see that there is an article/website defined for a relation and there is no need to add it to every element of the relation. I'm now going through <em>wikipedia errors</em> part of OSMOSE and I can see a plenty of wikipedia links added randomly to ways that are parts of boundaries, roads or rivers.<br>
Also, it will make wikipedia articles defined for containing relation easily available from object's details.</p>
<ol start="3">
<li>Optionally, the wikipedia icons could be more intelligent than just opening a wikipedia article from wikipedia=* tag. The algorithm could be:</li>
</ol>
<ul>
<li>If there is no wikidata=* tag in object's tags, an article under wikipedia=* is displayed</li>
<li>Otherwise, the current user's language preferences are checked and:
<ul>
<li>if the user has not defined language preferences, we go to "fallback" (see below)</li>
<li>otherwise we go through user's preferred languages (top down) and for the first language on the list that has a wikipedia article listed in this language in wikidata entry, we display this article in this language.<br>
E.g The user has defined Polish, English and Russian as preferred languages, and the wikidata entry has links to articles in Russian and Kazakh languages, a Russian article would be displayed even if wikipedia=* tag lists the Kazakh article.</li>
</ul>
</li>
</ul>
<p>"Fallback" when there are no language preferences to go through or none of the preferred languages is found in wikidata:</p>
<ul>
<li>if there is an English article in the wikidata entry, display English article.</li>
<li>otherwise, display an article from wikipedia=* tag.</li>
</ul>
<p><strong><em>Rationale:</em></strong> This way registered users will quickly see the article in their most preferred language if available.</p>
<p>Also, if there was such an intelligent wikipedia licon, the same could be done with object's name i.e. we could add an icon after the object's name that would open a wikipedia article in user's most preferred language.</p>
<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/1517">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLRVjCkgQRxpW0l-35_R0eR3bR7SCks5rtSMXgaJpZM4M17Xq">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLe-mpXlpP-nbBujJl7tL0FFyIae3ks5rtSMXgaJpZM4M17Xq.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/1517"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<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://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Add interactive icons for wikipedia and website in object details (#1517)"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/1517"}}}</script>