<p>No that replacement was never done at display time, but I can understand why you thought it was. There are in effect three possible states:</p>
<ul>
<li>Suspended, where the user state is set to <code>suspended</code> either automatically by the spam score or manually by an administrator.</li>
<li>Hidden, where the user state is set to <code>deleted</code> by an administrator.</li>
<li>Deleted, where the user state is set to <code>deleted</code> and personal information is cleared from the user record by an administrator.</li>
</ul>
<p>The last case is where <code>user_XXX</code> will appear, because that is what the display name is changed to when a user is deleted.</p>
<p>For spammers I normally use hide so as to preserve details while account closure requests use delete instead so that personal information is removed.</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/2024#issuecomment-428896786">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLXkE2hhMBvZIro3a91BUiTBC0_wAks5ujxcFgaJpZM4XW_KQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLUn6n_grhjeKRfvQ7WOE39YowMEFks5ujxcFgaJpZM4XW_KQ.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":"PERSON","message":"@tomhughes in #2024: No that replacement was never done at display time, but I can understand why you thought it was. There are in effect three possible states:\r\n\r\n* Suspended, where the user state is set to `suspended` either automatically by the spam score or manually by an administrator.\r\n* Hidden, where the user state is set to `deleted` by an administrator.\r\n* Deleted, where the user state is set to `deleted` and personal information is cleared from the user record by an administrator.\r\n\r\nThe last case is where `user_XXX` will appear, because that is what the display name is changed to when a user is deleted.\r\n\r\nFor spammers I normally use hide so as to preserve details while account closure requests use delete instead so that personal information is removed."}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/2024#issuecomment-428896786"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2024#issuecomment-428896786",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2024#issuecomment-428896786",
"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": "Re: [openstreetmap/openstreetmap-website] Usernames of deleted users are visible on /changeset/ID (#2024)",
"sections": [
{
"text": "",
"activityTitle": "**Tom Hughes**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@tomhughes",
"facts": [

]
}
],
"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\": 2024,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/openstreetmap-website/issues/2024#issuecomment-428896786"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 391901840\n}"
}
],
"themeColor": "26292E"
}
]</script>