<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #3269.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="952496466" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3269" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3269/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3269">#3269</a></p>
<p>In the HTML4 days, fragments weren't allowed to have <code>%</code> signs, so mediawiki generated fragments with <code>%</code> replaced with a <code>.</code></p>
<p>In HTML5, fragments can have % encoded characters, and so in 2017 wikipedia switched over to this for their automatically generated fragments, while keeping the "dot" versions available as a fallback.</p>
<p>However, we have been automatically converting all fragments, including manually specified anchors that do not have "dot"-encoded versions available. So we can now simplify everything by just using the HTML5 percent-encoded fragments.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/3278'>https://github.com/openstreetmap/openstreetmap-website/pull/3278</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Switch to html5-compatible fragment encoding for wikipedia URLs</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3278/files#diff-f787e682da0df0dd52c310ccf1d92b90b1245e4a8951f6f677ed90c09a38a9b2">app/helpers/browse_tags_helper.rb</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3278/files#diff-3c9ba0f9198f856d54c920e1fdd7200521f9b34529cb7e4709eedce6845d5fb7">test/helpers/browse_tags_helper_test.rb</a>
    (4)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3278.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3278.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3278.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3278.diff</a></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/pull/3278">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKLWS4I45NYYUKCFP3T2AL3NANCNFSM5BERRQ6Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAK2OLK7KKEUQDGQ7N5STL3T2AL3NA5CNFSM5BERRQ62YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OHLPXRA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/3278",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3278",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>