mediawiki-extensions-Visual.../modules/ve-mw/dm
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
..
annotations Update VE core submodule to master (7d2a68e) 2015-02-18 15:35:46 -08:00
metaitems build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
models Correctly validate a provider for local api 2015-02-25 15:59:05 -08:00
nodes Fix transfer of reference contents from removed reference 2015-03-02 22:26:05 +01:00
ve.dm.MW.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00