dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1446dae
)
Make size of thumb box for non-existent images consistent with common 180px default...
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Fri, 24 Mar 2006 16:06:57 +0000
(16:06 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Fri, 24 Mar 2006 16:06:57 +0000
(16:06 +0000)
includes/Linker.php
patch
|
blob
|
history
diff --git
a/includes/Linker.php
b/includes/Linker.php
index
1cf5a57
..
aa51a1f
100644
(file)
--- a/
includes/Linker.php
+++ b/
includes/Linker.php
@@
-572,10
+572,10
@@
class Linker {
$height = $img->getHeight();
}
if ( 0 == $width || 0 == $height ) {
- $width = $height =
20
0;
+ $width = $height =
18
0;
}
if ( $boxwidth == 0 ) {
- $boxwidth =
20
0;
+ $boxwidth =
18
0;
}
if ( $framed ) {
// Use image dimensions, don't scale