Page MenuHomePhabricator

Use hyphenation for long item page titles
Open, Needs TriagePublic

Description

BDD

GIVEN I am on an item page
WHEN a label is too long to fit the available title width
THEN this label is hyphenated according to the rules suitable for its language

Acceptance criteria:

  • Long labels overflow to the next line in the title

Info

  • subject was researched in T199078. Recommendation is to use the .hyphens mixin provided by MW on .wb-entitypage .wikibase-title-label. In order for this to work these nodes need to be marked-up with the correct language(, and directionality)
  • probably also true for properties but less common

Example: https://www.wikidata.org/wiki/Q6500