<p dir="auto">Next improvement after <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3165201085" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/6120" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/6120/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/6120">#6120</a>, in case there's a lot of skipped versions.</p>
<p dir="auto">Changes version lists like [1, ..., 234, 235, 236, 237] to [1, ..., 50, ..., 100, ..., 150, ..., 200, 234, 235, 236, 237].</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/6134'>https://github.com/openstreetmap/openstreetmap-website/pull/6134</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/5f3c8cc119bedf0e822f58492d7fb82da3a3e073" class="commit-link">5f3c8cc</a>  Load current element in old element controllers</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/c608c123ee594fa39504fb0d0b4e0c79954d771e" class="commit-link">c608c12</a>  Move element and history links to breadcrumbs</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/fd8f1a2eb80cbd8fbb93056312e5e089b1ad2159" class="commit-link">fd8f1a2</a>  Add version to breadcrumbs on old element pages</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/9c972c2f16d60f67142bf73ac1eb742f5aafd99d" class="commit-link">9c972c2</a>  Show all element version links below breadcrumbs</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/da068d0084520135b868ff4a890d6398e1b9dc2d" class="commit-link">da068d0</a>  Prepare to split element version pagination into multiple lists</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/73127535694b251d5cd53ab5ced94611bcc12bca" class="commit-link">7312753</a>  Split long version lists into 3 parts, with middle list scrollable</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/77ceb2625b20fa6b8e235d720e29c8605e551f4d" class="commit-link">77ceb26</a>  Remove border rounding/duplication between adjacent version lists</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/870f02a9eced392624866612e130c3db1b426ecf" class="commit-link">870f02a</a>  Reserve horizontal space for focus outlines in middle version list</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/ffab96b10c50e56e4cf2b5eea8160dafca6bdce0" class="commit-link">ffab96b</a>  Extend starting/ending version lists containing active items</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/e9ad159d41cb247269dab0e107b83201b215bb02" class="commit-link">e9ad159</a>  Limit number of items in version lists</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/521e042dfec6bd0c128e90faf3af5b84dc003183" class="commit-link">521e042</a>  Scroll to active version in navigation list on load</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/38fa7dad4d1d314c2dbd911889ffe54b7013112f" class="commit-link">38fa7da</a>  Scroll to active version on click in breadcrumbs</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/39ddc8e8fc84cf024d319e87a88559f7a7e70c61" class="commit-link">39ddc8e</a>  Add shadows to floating start/end version lists</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/6608d29b5d96f5e5d94c3d50dd3d502ad244d6d1" class="commit-link">6608d29</a>  Add links to versions with a fixed step</li>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/commits/d148b15a503b6954ae8223ae84a64048112b3fb6" class="commit-link">d148b15</a>  Fill small version gaps</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files">13 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-71436f6016f6f28a1b7bed75ba46219ad59d0d88a0cd1321d089fbd74375c97c">app/assets/javascripts/index/element.js</a>
    (58)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-856dbbd8a7c4b04da9855670a1bb69b1a5011ed845912c4097b2a79c0d1458db">app/controllers/old_nodes_controller.rb</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-2565415ff0cf26425751f20170047f8adeebcc125bdb9922d13cbdf7e85e8e8a">app/controllers/old_relations_controller.rb</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-cfe32a098ea6ffbb18196c201b634266ae4f0e0c29830fc61234fc63a56c658b">app/controllers/old_ways_controller.rb</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-f8f69f64cffdbe681905da29331c52ae49a5dc73f95f455b55a7885d3fb5e557">app/helpers/numbered_pagination_helper.rb</a>
    (85)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-0bcb71ef08ec05857bea9274ef2f3f3fe774b62e24df05fcc294863a8634bcac">app/views/elements/show.html.erb</a>
    (43)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-aacc53664ba2734a78d9a1e3cb342b65e7ceec2b823509eb50384d78196e4324">app/views/old_elements/_actions.html.erb</a>
    (42)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-97aa64e267966e82aa0ea456e7a0bcc24c05415f90007ce626c596a97db44433">app/views/old_elements/index.html.erb</a>
    (39)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-44438ce218f5287c58d0017f965d888715635d94280669896f75841fbd7b4cd7">config/locales/en.yml</a>
    (10)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-96107f02aad3ff32d58e20573e787c6a618171681c5154d024c070e80dafdae1">test/helpers/numbered_pagination_helper_test.rb</a>
    (414)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-192919b7152711a8243bd747a361c2f635f8013307353dcdd668fd4b536e9366">test/system/element_current_version_test.rb</a>
    (60)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-7a379f6322326ca2dcf2791f6d76ab47a541528d7d86ae5c4158b42a18b9f152">test/system/element_history_test.rb</a>
    (104)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6134/files#diff-8f03163e495bd2f080afe5cc3ab4f0f85ea0691cb808dbeb7b688ddeef9c5f5d">test/system/element_old_version_test.rb</a>
    (106)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6134.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6134.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6134.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6134.diff</a></li>
</ul>

<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/6134">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLOHICTCLMPDNTEFYBD3FLOADAVCNFSM6AAAAACAD7H2K2VHI2DSMVQWIX3LMV43ASLTON2WKOZTGE3TMNBYGI2DIOI">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMFU4VSQATKVMDWNCT3FLOADA5CNFSM6AAAAACAD7H2K2WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHL2VKGSE.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/6134</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/6134",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6134",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>