Page MenuHomePhabricator

Use hyphenation for long form representation
Closed, ResolvedPublic1 Estimated Story Points

Description

BDD

GIVEN I am on a Lexeme page with a form
WHEN  a form representation is too long to fit the available width
THEN  this form representation is hyphenated according to the rules suitable for its language

Acceptance criteria:

  • Long form representations overflow to the next line in the widget
  • Long form representations do not hide the cancel/save buttons

Info

  • subject was researched in T199078. Recommendation is to use the .hyphens mixin provided by MW on .wb-lexemepage .representation-widget_representation-value. In order for this to work these nodes need to be marked-up with the correct language(, and directionality)

    Screenshot-2018-5-23 L88(1).png (1×1 px, 104 KB)

Event Timeline

Pablo-WMDE updated the task description. (Show Details)
Pablo-WMDE updated the task description. (Show Details)

Change 457434 had a related patch set uploaded (by Pablo Grass (WMDE); owner: Pablo Grass (WMDE)):
[mediawiki/extensions/WikibaseLexeme@master] Use hyphenation for long form representations

https://gerrit.wikimedia.org/r/457434

Change 457434 merged by jenkins-bot:
[mediawiki/extensions/WikibaseLexeme@master] Use hyphenation for long form representations

https://gerrit.wikimedia.org/r/457434