mediawiki-extensions-Visual.../modules/ve-mw/dm/nodes
Roan Kattouw f24dbb3435 Fix transfer of reference contents from removed reference
We unconditionally retrieved originalHtml from itemNode,
even if there was no data-mw.body.id, so as long as
the reference itself wasn't edited, we would never overwrite
data-mw. This meant that if the <ref> with the contents
was deleted, the contents wouldn't be transfered to the
first <ref> tag with that name like they're supposed to be.
The solution is to only look at originalHtml from itemNode
if data-mw.body.id is set.

Change-Id: Ib87491b6fa6a77d62384158f8e8f7dcc2a36c23a
2015-03-02 22:26:05 +01:00
..
ve.dm.MWAlienExtensionNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.dm.MWBlockImageNode.js Update VE core submodule to master (032c9a4) 2015-02-18 16:32:19 -08:00
ve.dm.MWEntityNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.dm.MWExtensionNode.js Update VE core submodule to master (7d2a68e) 2015-02-18 15:35:46 -08:00
ve.dm.MWGalleryNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.dm.MWHeadingNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.dm.MWImageCaptionNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.dm.MWImageNode.js Refactor MWMediaResultWidget to resize better 2015-02-26 16:42:14 -08:00
ve.dm.MWInlineImageNode.js Update VE core submodule to master (032c9a4) 2015-02-18 16:32:19 -08:00
ve.dm.MWNumberedExternalLinkNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.dm.MWPreformattedNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.dm.MWReferenceNode.js Fix transfer of reference contents from removed reference 2015-03-02 22:26:05 +01:00
ve.dm.MWReferencesListNode.js Update VE core submodule to master (7d2a68e) 2015-02-18 15:35:46 -08:00
ve.dm.MWTableNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.dm.MWTransclusionNode.js Fix transclusion clipboard logic 2015-02-22 19:24:41 -08:00