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

باختصار شديد، توجد تفاوتات في معالجة جافا سكريبت وروبي و PostgreSQL لمختلف أحرف UTF-8 (مثل التحويل إلى أحرف كبيرة أو صغيرة). أعتقد أن المشكلة المذكورة أعلاه قد تجعل أحرف UTF-8 غير آمنة في أسماء المستخدمين إذا لم يتم تطبيق طريقة توجيه أخرى تتضمن معرف المستخدم.

لذا، هذه فرصة لإعادة النظر في هذا القرار :slight_smile:

نود فقط أن نوضح هنا أنه عند تغيير اسم المستخدم، يتم تحديث الاقتباسات والذكر تلقائيًا. تغيير اسم المستخدم لن يؤدي إلى كسر الاقتباسات والذكر.

8 إعجابات