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:
227ea90
)
Remove debugging code
author
Jens Frank
<jeluf@users.mediawiki.org>
Tue, 28 Dec 2004 22:35:12 +0000
(22:35 +0000)
committer
Jens Frank
<jeluf@users.mediawiki.org>
Tue, 28 Dec 2004 22:35:12 +0000
(22:35 +0000)
includes/ImagePage.php
patch
|
blob
|
history
diff --git
a/includes/ImagePage.php
b/includes/ImagePage.php
index
ba594ac
..
7bdfe8c
100644
(file)
--- a/
includes/ImagePage.php
+++ b/
includes/ImagePage.php
@@
-80,7
+80,7
@@
class ImagePage extends Article {
if ( $width != $this->img->getWidth() || $height != $this->img->getHeight() ) {
if( $wgUseImageResize ) {
$thumbnail = $this->img->getThumbnail( $width );
if ( $width != $this->img->getWidth() || $height != $this->img->getHeight() ) {
if( $wgUseImageResize ) {
$thumbnail = $this->img->getThumbnail( $width );
- print "<pre>thumb ". $thumbnail->getSize() ."\nimg ".$this->img->getSize()."</pre>";
+
if ( ( ! $this->img->mustRender() )
&& ( $thumbnail->getSize() > $this->img->getSize() ) ) {
# the thumbnail is bigger thatn the original image.
if ( ( ! $this->img->mustRender() )
&& ( $thumbnail->getSize() > $this->img->getSize() ) ) {
# the thumbnail is bigger thatn the original image.