Page MenuHomePhabricator

[MUL] Termbox on desktop has issues with long words in language column
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Open an item on Wikidata using the Dutch language that has a MUL value, or add MUL to your babel user page template. For example: https://www.wikidata.org/wiki/Q2013?uselang=nl
  • (Open all entered languages in the termbox and) search for "standaardwaarden voor alle talen" (MediaWiki:Wikibase-language-name-for-terms-mul/nl) on the page

What happens?:

Notice that the text is overflowing with the label.

image.png (77×253 px, 9 KB)

What should have happened instead?:

The termbox should handle cases where languages or labels in the same space contain long words, either by applying automatic hyphenation (which also applies useless hyphenation at moments) or extending the width of the first column. The latter might be a better choice with also the introduction of font sizes in Vector 2022.

This could also be solved with a soft hyphen in the translation but this is not a common practice and has several downsides.

The mobile version of the termbox uses flexbox so it doesn't have this issue, it does cause a long column width on the tablet view.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

karapayneWMDE renamed this task from Termbox on desktop has issues with long words in language column to [MUL] Termbox on desktop has issues with long words in language column.Aug 27 2024, 2:24 PM
karapayneWMDE moved this task from Incoming to Product Backlog on the Wikidata Dev Team board.