r87266 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87265‎ | r87266 | r87267 >
Date:18:00, 2 May 2011
Author:diebuche
Status:ok
Tags:
Comment:
Adjust maxwidth calculation for galleries. Bug 27577
Modified paths:
  • /trunk/phase3/includes/ImageGallery.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImageGallery.php
@@ -38,7 +38,8 @@
3939 */
4040 const THUMB_PADDING = 30;
4141 const GB_PADDING = 5;
42 - const GB_BORDERS = 6;
 42+ //2px borders on each side + 2px implied padding on each side
 43+ const GB_BORDERS = 8;
4344
4445 /**
4546 * Create a new image gallery object.

Follow-up revisions

RevisionCommit summaryAuthorDate
r87333MFT r87266reedy16:11, 3 May 2011
r87393Follow-up r87266: Fix parser testpcopp11:48, 4 May 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r83965Fix overestimation of max-width when using perrow mode....hartman21:08, 14 March 2011

Status & tagging log