<p dir="auto">This PR adds a missing feature in osm-website as compared to cgimap.</p>
<p dir="auto">There's a <code class="notranslate">show_redactions</code> parameter which lets moderators see redacted element versions. In osm-website it works with element versions and histories. In cgimap it also works with changeset downloads. Without this parameter it's impossible to know which elements were changed in a given changeset. If you do a redaction and don't record all elements+versions somewhere, you won't be able to check whether everything was redacted correctly. You'll know that something in a changeset was redacted because the changes count won't match the number of elements in the download. But since the elements are missing, you won't be able to check their next versions, and you often need to redact the versions after the target changeset too.</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/5724'>https://github.com/openstreetmap/openstreetmap-website/pull/5724</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5724/commits/41ebc3cb6ff6a29701f4014e2113552b031c6665" class="commit-link">41ebc3c</a>  Add show_redactions param to changeset downloads</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5724/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5724/files#diff-3c58455c3957d3ac099f64037d29ebbbf78d6508ee7f3d44468f2950ad65cd45">app/controllers/api/changesets/downloads_controller.rb</a>
    (20)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/5724/files#diff-7cf396fc2c889037c0198ce0e8f8395cd313569e62e08efb779305a7b7a2dc1c">test/controllers/api/changesets/downloads_controller_test.rb</a>
    (56)
  </li>
</ul>

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