mediawiki-extensions-Visual.../modules/ve-mw/ui/dialogs
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
..
ve.ui.MWBetaWelcomeDialog.js Update constructors of inspectors and dialogs as per changes in I345d6e6 2014-03-05 17:07:20 -08:00
ve.ui.MWCommandHelpDialog.js Update constructors of inspectors and dialogs as per changes in I345d6e6 2014-03-05 17:07:20 -08:00
ve.ui.MWMediaEditDialog.js Get item data from change event in select widget items 2014-03-06 13:37:17 -05:00
ve.ui.MWMediaInsertDialog.js Enforce width-only default size only on larger images 2014-03-10 19:05:14 +00:00
ve.ui.MWMetaDialog.js Update constructors of inspectors and dialogs as per changes in I345d6e6 2014-03-05 17:07:20 -08:00
ve.ui.MWReferenceDialog.js Update constructors of inspectors and dialogs as per changes in I345d6e6 2014-03-05 17:07:20 -08:00
ve.ui.MWReferenceListDialog.js Update constructors of inspectors and dialogs as per changes in I345d6e6 2014-03-05 17:07:20 -08:00
ve.ui.MWSaveDialog.js Update constructors of inspectors and dialogs as per changes in I345d6e6 2014-03-05 17:07:20 -08:00
ve.ui.MWTransclusionDialog.js Merge TransclusionDialogs into one 2014-03-05 18:15:17 -08:00