mediawiki-extensions-Visual.../modules
Roan Kattouw dd6d225ed7 Don't strip HTML attributes from inspected links
When you inspect a link, then close the inspector immediately,
nothing should change. However, AnnotationInspector was comparing
the generated annotation and the existing annotation by hash, and so
would consider an annotation with htmlAttributes different from
one without. This meant that inspecting a Parsoid-generated link
and then closing the inspector would cause a transaction to be
processed that removes the htmlAttributes from the annotation.

I believe a similar issue also existed for annotations with attributes
like origTitle and hrefPrefix, although I didn't reproduce this.

The fix is to have AnnotationInspector compare annotations by the
hash of their comparableObjects, rather than their hashObjects.

Change-Id: I848ffc2b7e7b2c67754a0ece3af105ffafa837ec
2013-11-27 22:54:21 +00:00
..
jquery
jquery.uls
jsdifflib Use jsdifflib for QUnit diff 2013-10-23 20:31:17 +00:00
oojs Update oojs to v1.0.5 2013-10-23 03:16:21 +02:00
oojs-ui Update OOJS UI to v0.1.0-pre (e5ef1e5b28) 2013-11-25 10:47:49 +00:00
qunit
rangy
syntaxhighlight Fix icon opacities 2013-11-22 13:47:20 +00:00
unicodejs Revert model to use simple UTF-16 code units 2013-11-26 19:38:14 +00:00
ve Don't strip HTML attributes from inspected links 2013-11-27 22:54:21 +00:00
ve-mw Merge "mw.ViewPageTarget: Use ve-activated class on the html element" 2013-11-26 22:52:14 +00:00