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