(bug 23075) correct MediaTransformError default width in gallery. Contributed by...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Tue, 20 Apr 2010 22:49:50 +0000 (22:49 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Tue, 20 Apr 2010 22:49:50 +0000 (22:49 +0000)
commitfd257a9a3e3d0faa7a81992973483a434762ed06
tree3c0e4c53537a3fa2e1ff8e99fb0c5bf91f1f7705
parent93730ea4a5dbee6bf93c081c336a3615cf9122da
(bug 23075) correct MediaTransformError default width in gallery. Contributed by Derk-Jan Hartman.

Submitter's remarks:
This patch changes the minimum size of a MediaTransformError to 120px, which
makes sure it will at least fit galleries. Any smaller and likely it would
become unreadable, so keep the ugly in those cases.

The patch also changes the message from a table to a div, because there is no
real need to use a table here. I have added "display:inline-block" to the css
to make it behave almost exactly as an img or table element would (This might
be important for [[File:image.gif|180px]], where no other framing is provided.)
RELEASE-NOTES
includes/media/MediaTransformOutput.php