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 @@
39
39
*/
40
40
const THUMB_PADDING = 30;
41
41
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;
43
44
44
45
/**
45
46
* Create a new image gallery object.
Follow-up revisions
Revision
Commit summary
Author
Date
r87333
MFT
r87266
reedy
16:11, 3 May 2011
r87393
Follow-up
r87266
: Fix parser test
pcopp
11:48, 4 May 2011
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r83965
Fix overestimation of max-width when using perrow mode....
hartman
21:08, 14 March 2011
Status & tagging log
20:38, 7 June 2011
😂
(
talk
|
contribs
)
changed the
status
of r87266
[
removed:
new
added:
ok]
16:09, 3 May 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r87266
[
removed:
1.17]
18:01, 2 May 2011
Reedy
(
talk
|
contribs
)
changed the
tags
for r87266
[
added:
1.17]