mediawiki-extensions-Visual.../modules/ve-mw
Bartosz Dziewoński 24e828c627 ve.ce.MWInlineImageNode: Fix rendering of non-linked images
The bug is easiest to reproduce with `[[File:Example.jpg|link=]]`,
but it also affected video embeds.

jQuery appendTo() method returns the set of inserted elements.
Because `this.$element` is undefined at this point, the `<img>`
was not actually being inserted anywhere, and an empty set was
returned, causing MWInlineImageNode to have no CE rendering.

This was not an issue prior to c4f93b14, because `this.$element`
was being defined by the parent constructor (OO.ui.Element)

We don't actually want to insert it anywhere, this appendTo()
call was a remnant of wrapping code removed in a22aeafc.

Bug: T191406
Change-Id: If1dbf9fef0e0ac9debfdb3049ebcccac70948515
2018-04-04 21:22:58 +02:00
..
ce ve.ce.MWInlineImageNode: Fix rendering of non-linked images 2018-04-04 21:22:58 +02:00
dm GalleryNode: Pass through all arguments in describeChanges override 2018-04-04 18:00:41 +01:00
init Merge "DiffPage: Remember chosen diff mode" 2018-04-04 16:34:54 +00:00
tests Update VE core submodule to master (dc98cb7ec) 2018-03-20 16:38:54 -07:00
themes Update VE core submodule to master (4922429f7) 2018-03-28 09:17:12 -07:00
ui Use cog icon for options 2018-04-04 13:22:00 +01:00
ve.MWutils.js Centralize Parsoid resource name parsing logic 2018-02-28 03:01:05 +01:00