# 仅允许标题单一Box

**URL:** <https://meta.discourse.org/t/allow-title-only-onebox/354306>\
**Category:** Plugin\
**Tags:** onebox, deprecated\
**Created:** [2025年二月25日 04:02 UTC](https://meta.discourse.org/t/allow-title-only-onebox/354306 "2025-02-25T04:02:51Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![martin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/martin/32/491371_2.png) [@martin](https://meta.discourse.org/u/martin)\
**Post date:** [2025年二月26日 01:20 UTC](https://meta.discourse.org/t/allow-title-only-onebox/354306/11 "2025-02-26T01:20:11Z")

</div>

PR 在此：

> <https://github.com/discourse/discourse/pull/31518>
>
> This behaviour was allowed in https://github.com/discourse/onebox/commit/cb82dce…86afbfbf2db08b80d61134a7da25c6d68
> but then inexplicably removed a few months later in
> https://github.com/discourse/onebox/pull/448, but showing
> title-only oneboxes is valid. The original Meta topic that
> this was discussed in was https://meta.discourse.org/t/abc-news-not-oneboxing-due-to-missing-description/155933 .
> 
> This commit re-introduces allowing this behaviour to avoid the need for a plugin,
> c.f. https://meta.discourse.org/t/allow-title-only-onebox/354306
> 
> For example \<https://en-americas-support.nintendo.com/app/answers/detail/a\_id/67660\>:
> 
> !\[image\](https://github.com/user-attachments/assets/52ca3dc0-7a67-483f-89a8-53bce33cc34e)
> 
> This commit also unhides onebox descriptions in chat, it's not
> clear why they were ever hidden in the first place:
> 
> !\[image\](https://github.com/user-attachments/assets/a454e46d-3d64-4b83-bf53-9302c6b07fdf)

---

_[View the full topic](https://meta.discourse.org/t/allow-title-only-onebox/354306)._
