mediawiki-extensions-Visual.../modules/ve-mw
Moriel Schottlender 5f2ce173a0 Enforce width-only default size only on larger images
While the documentation is unclear, it seems that the 'thumbsize' in
$wgDefaultUserOptions is setting up width limit rather than a general
bounding box.

Things that are adapted in this fix:

* Only resize the image if the image is bigger than default and marked
  as default size.
* Only limit width, even if the image is tall.
* Add rounding to calculated height value.
* Make sure new images follow these rules as well on insertion.

Bug: 62293
Bug: 62279
Change-Id: I37525bf3480bb1da8b0538f9b38576616aabbfa6
2014-03-10 19:05:14 +00:00
..
ce Use en-us spelling 'focused' 2014-03-06 16:30:05 +00:00
dm Enforce width-only default size only on larger images 2014-03-10 19:05:14 +00:00
i18n Localisation updates from https://translatewiki.net. 2014-03-09 20:39:23 +00:00
init Merge "Abstract tracking and specify which target it came from" 2014-03-08 01:01:08 +00:00
test [Browser tests] Updated Ruby version from 2.1.0 to 2.1.1 2014-03-04 19:48:48 +00:00
ui Enforce width-only default size only on larger images 2014-03-10 19:05:14 +00:00