Last modified: 2013-11-20 01:16:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58145, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56145 - Auto-ellipsis for description field
Auto-ellipsis for description field
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
MultimediaViewer (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Mark Holmquist
:
: 56438 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-25 01:07 UTC by Fabrice Florin
Modified: 2013-11-20 01:16 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Media-Viewer-Lightbox-View-Screenshot2-Alpha-10-24-2013 (198.01 KB, image/png)
2013-10-25 01:07 UTC, Fabrice Florin
Details

Description Fabrice Florin 2013-10-25 01:07:37 UTC
Created attachment 13576 [details]
Media-Viewer-Lightbox-View-Screenshot2-Alpha-10-24-2013

The file description for the attached screenshot (1) is too lengthy compared to the other elements near it and throws the page out of balance, creating unnecessary visual clutter. 

The recommended design for this Media Viewer lightbox view is to truncate the description after 256 characters, with a 'More' link to expand the contents, as shown in the design mockup (2) and requested in the corresponding Mingle ticket #33 (3). 

Clicking on the 'More' link will reveal the rest of the description. A 'Less' link could also be provided, should the user want to restore the description to its original format.

More info about Media Viewer on our project page (4).

(1) https://commons.wikimedia.org/wiki/File:Media-Viewer-Lightbox-View-Screenshot2-Alpha-10-24-2013.png

(2) https://upload.wikimedia.org/wikipedia/commons/f/fe/MediaViewer_Sept9.png

(3) https://mingle.corp.wikimedia.org/projects/multimedia/cards/33

(4) https://www.mediawiki.org/wiki/Multimedia/Media_Viewer
Comment 1 Gerrit Notification Bot 2013-10-25 22:10:15 UTC
Change 92006 had a related patch set uploaded by MarkTraceur:
Truncate a few files with autoEllipsis

https://gerrit.wikimedia.org/r/92006
Comment 2 Gerrit Notification Bot 2013-11-01 18:49:33 UTC
Change 92006 abandoned by MarkTraceur:
Truncate a few fields with autoEllipsis

Reason:
I think I'm going to write a new patch that does this with a scrollable div. Let's see how that goes.

https://gerrit.wikimedia.org/r/92006
Comment 3 Mark Holmquist 2013-11-01 18:52:59 UTC
I want to do this with a scrollable div. And posthaste.
Comment 4 Mark Holmquist 2013-11-01 18:54:45 UTC
*** Bug 56438 has been marked as a duplicate of this bug. ***
Comment 5 Gerrit Notification Bot 2013-11-01 19:07:45 UTC
Change 93092 had a related patch set uploaded by MarkTraceur:
Make description scrollable

https://gerrit.wikimedia.org/r/93092
Comment 6 Gerrit Notification Bot 2013-11-01 19:51:31 UTC
Change 93092 merged by jenkins-bot:
Make description scrollable

https://gerrit.wikimedia.org/r/93092
Comment 7 Mark Holmquist 2013-11-20 01:16:07 UTC
I think this solution is pretty much good enough. Any changes to the design portion of the solution should be separate bugs.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links