MultimediaViewer:Auto-ellipsis for filename field
completed by: Yaroslav Melnychuk
mentors: Andre Klapper, Quim Gil
MultimediaViewer is a MediaWiki extension that gives the user of a wiki a slightly nicer interface for viewing full-size, or nearly full-size, images in their browser without extraneous page loads or confusing interstitial pages. It is currently a beta feature deployed in all Wikimedia sites.
Currently it has this little problem:
The File Name at the top of the light box view of the Media Viewer tends to wrap around to a second line when it is too long, as seen on this multimedia alpha site. Consider truncate the title after 32 characters, to avoid wrap around.
Also, we should aim to let that title stretch all the way to the right of the page, instead of wrapping it up in the middle
See this bug report for more information:
https://bugzilla.wikimedia.org/show_bug.cgi?id=56113
Please ask any questions in the bug report. You will have better chances for quicker and better answers from the project maintainers and other community contributors.
Students are required to read Wikimedia's general instructions first. Patches should be submitted to Gerrit and reference the bug report in the commit message. Improvements to an initial patch must be submitted as an amendment to the initial patch, not as new patches.