# 关于香槟表情符号的一个微不足道的观察

**URL:** https://meta.discourse.org/t/trivial-observation-about-the-champagne-emoji/399338
**Category:** UX
**Tags:** emoji
**Created:** [2026年三月26日 14:55 UTC](https://meta.discourse.org/t/trivial-observation-about-the-champagne-emoji/399338 "2026-03-26T14:55:25Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2026年三月27日 16:57 UTC](https://meta.discourse.org/t/trivial-observation-about-the-champagne-emoji/399338/3 "2026-03-27T16:57:18Z")

</div>

添加了验证步骤，以确保我们绝不会将别名添加到不存在的表情符号上：+1：

> <https://github.com/discourse/discourse-emojis/pull/11>
>
> Some EMOJI\_ALIASES keys (e.g. "champagne", "cheese", "hotdog") are not real emoj…i names — they don't exist in emojis.json and have no corresponding image files. Each of these keys already appears as an alias value for the actual emoji elsewhere in the hash (e.g. "bottle\_with\_popping\_cork" =\> \["champagne"\]), making the phantom entries redundant. Their presence causes the emoji picker to register names that can't resolve to an image, so typing \`:champagne:\` fails even though \`:cork:\` works fine.
> 
> This removes all 14 phantom entries and adds a validation step to the \`emojis:db\` rake task that aborts generation if any phantom alias keys are detected in the future.
> 
> https://meta.discourse.org/t/399338

---

_[View the full topic](https://meta.discourse.org/t/trivial-observation-about-the-champagne-emoji/399338)._
