Page MenuHomePhabricator

"Read more" link is appearing even if the last line if the description of the image fits in the visible area
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

1.Open VisualEditor for a page
2.Now go to Insert>Media
3.Search for the keyword gtg
4.Select the image "Peinture Gaud GTG"

Observed Result:
Observe that the last line of the description ends just before the "Read More" link and there is no need for "Read More" in this case

Screen_Shot_2015-01-20_at_12.16.38_PM.png (406×904 px, 436 KB)

Event Timeline

Ryasmeen raised the priority of this task from to Needs Triage.
Ryasmeen updated the task description. (Show Details)
Ryasmeen added a project: VisualEditor.
Ryasmeen subscribed.
Jdforrester-WMF moved this task from To Triage to TR6: Visual diffs on the VisualEditor board.

I can't manage to reproduce this ever since the last update of the image info panel. Can you verify?

Ignore that, I just found it. Investigating now.

Change 193286 had a related patch set uploaded (by Mooeypoo):
Add a threshold to 'read more' calculation in media dialog info

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

Change 193286 merged by jenkins-bot:
Add a threshold to 'read more' calculation in media dialog info

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