* (bug 3408) Bulgarian formatNum corrected
* (bug 3448) Set page_len on undelete
* (bug 3405) Don't use raw letters as aliases of MSGNW: and SUBST:
+* (bug 2800) Don't scale up small images on |thumb| without explicit size
=== Caveats ===
$wopt = User::getDefaultOption( 'thumbsize' );
}
- $width = $wgThumbLimits[$wopt];
+ $width = min( $img->getWidth(), $wgThumbLimits[$wopt] );
}
return $prefix.$this->makeThumbLinkObj( $img, $label, $alt, $align, $width, $height, $framed, $manual_thumb ).$postfix;