https://bugzilla.wikimedia.org/show_bug.cgi?id=62258

--- Comment #5 from C. Scott Ananian <canan...@wikimedia.org> ---
To be specific, the reason why framed images respect height (but not width) is
because the linker uses:
  $thumb = $file->getUnscaledThumb( $hp );
but includes/filerepo/file/File.php::getUnscaledThumb forces the requested
width to be the same as the images natural width *but not the height*.  So if
there is a height specification, getUnscaledThumb actually returns a scaled
thumb.  Which is... a bug.

https://gerrit.wikimedia.org/r/116995 fixes this, but probably in the wrong way
(unsets height for framed images).  File::getUnscaledThumb should probably be
fixed so that it ignores the specified height if present.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to