Update quotes and mentions when username is changed

That cribsheet is detailed to the way our migration worked.

Just rename your account with the GUI. This changes ownership and rebakes all your posts.

So what is left over are posts in response to you. This means that any @mentions are a straight replacement "@paul " for "@paula " and rebake. The only thing you won’t be able to catch is “Hey Paul” or “As Paul wrote”, but these will be self evident from within the context of the posts.

2개의 좋아요

특히 이 사례를 위해 이 주제를 다시 올립니다:

우선, 이제 UTF-8 사용자 이름을 허용하고 있으니… :sweat_smile:

또한, 이 문제가 발견되었습니다: Unicode username with Σ as the final char leads to an error loading profile page

간단히 말하면, JavaScript, Ruby, PostgreSQL의 다양한 UTF-8 문자 처리 방식(예: 대소문자 변환) 사이에 불일치가 존재합니다. 사용자 ID를 포함하는 다른 라우팅 방식이 구현되지 않으면, 앞서 언급한 문제가 UTF-8 문자가 사용자 이름에서 안전하지 않게 만들 수 있다고 생각합니다.

그러므로, 이 결정을 재검토할 좋은 기회입니다 :slight_smile:

여기 한 가지 참고할 사항을 추가합니다. 사용자 이름이 변경되면 인용과 멘션이 자동으로 업데이트됩니다. 사용자 이름을 변경해도 인용과 멘션이 깨지지 않습니다.

8개의 좋아요