Page MenuHomePhorge

Referenced long object titles ({X123}) should wrap in descriptions/comments
Open, Needs TriagePublic

Description

Upstreaming from https://phabricator.wikimedia.org/T148829

Current white-space: nowrap behavior for .phui-tag-view was introduced in rPce30f8c88bf6541ebbdfa1dd6920658a4cd0255f, likely having project tags in mind like

Screenshot From 2025-05-19 13-40-42.png (974×1 px, 267 KB)

However the same CSS class is also applied to any objects referenced by curly brackets, making things unnecessarily hard to read:

Screenshot_From_2025-05-19_13-15-46.png (643×678 px, 53 KB)

I believe that referenced objects in other object descriptions, comment previews, transaction comments ideally should wrap text:

Screenshot_From_2025-05-19_13-15-17.png (643×678 px, 66 KB)