MediaResultWidget: Remove unused code depending on VisualEditor
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 1 Apr 2019 15:55:17 +0000 (17:55 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 1 Apr 2019 15:55:17 +0000 (17:55 +0200)
commit44a4101b4c18f920c7578dd504295ae05ef8a33c
treed1aa169245248bd13b727503f826eeb677132123
parent2379bd01251bee365095f32b1eaba12b8f449d3d
MediaResultWidget: Remove unused code depending on VisualEditor

It seems that this property is not actually used. The default thumb size
is also loaded in MediaResourceProvider by querying the meta=siteinfo API.

Bug: T219675
Change-Id: I42610a2ac1ba6b19f08ee9fc9a8fd4aa23e090a7
resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.js