Fix JS error when adding new media
Formatting
Fix adding media to cart in insert media dialog
VE-1302 Theming for magic line
Address code review comments
Attached event handlers for the OptionWidget objects are already removed by oojs-ui
VE-1296: Minor code reformatting
Comment out unsupported preference containing unsupported function call
VE-1299: Fix. I discussed it pretty extensively with Ed Sanders from WMF and the solution endedup in upstream repo https://gerrit.wikimedia.org/r/#/c/144067/ - so this commit is just a merge of that solution.
Merge pull request #4044 from Wikia/VE-1286

Comment out unsupported preference containing unsupported function call
Merge pull request #4045 from Wikia/VE-1299

VE-1299: Fix. I discussed it pretty extensively with Ed Sanders from WMF...
Remove loading status when captcha appears
Merge pull request #4025 from Wikia/VE-1296

Fix JS error when adding new media
Merge pull request #4048 from Wikia/VE-1305

Remove loading status when captcha appears
Merge pull request #4042 from Wikia/VE-1302

VE-1302 Theming for magic line
Re-order methods for smoother UX
Merge pull request #4049 from Wikia/VE-1305

Re-order methods for smoother UX
Merge pull request #4046 from Wikia/VE-1304

VE-1304 Fix exception when saving, populate editor with image caption
VE-1306: Fix by replacing hardcoded names of types

mwBlockImage -> wikiaBlockImage
mwInlineImage -> wikiaInlineImage

Comments in the methods are not updated because this change is meant to be reconsidered later on (but it takes us where we want to be in the short term).
Merge pull request #4051 from Wikia/VE-1306

VE-1306: Fix by replacing hardcoded names of types