mediawiki-extensions-Visual.../modules/ve-mw/test/dm
Roan Kattouw 7294c65a2e Add a node class for mw:Nowiki
These represent <nowiki> tags. If the user doesn't edit the text inside
the nowiki, we round-trip the <span typeof="mw:Nowiki"> wrapper cleanly,
but if they do edit it, we unwrap it. This then triggers re-escaping
in Parsoid, and prevents cases where the user edits the text to no
longer need escaping but Parsoid still wraps it in <nowiki> because
of the <span typeof="mw:Nowiki"> wrapper.

In order to detect whether the contents have changed, the nowiki
annotation stores a copy of its contents. To avoid infinite recursion,
we have to exclude this attribute for hash generation.

Bug: 47678
Change-Id: I2edc46b6d87d2f91e952efcb09c0edae5166958f
2013-07-16 19:35:24 -07:00
..
nodes Prevent escaping of piped links in wikitext parameters 2013-07-11 16:20:39 +01:00
ve.dm.InternalList.test.js The great directory split of 2013 2013-07-02 20:51:38 -07:00
ve.dm.MWConverter.test.js The great directory split of 2013 2013-07-02 20:51:38 -07:00
ve.dm.mwExample.js Add a node class for mw:Nowiki 2013-07-16 19:35:24 -07:00
ve.dm.SurfaceFragment.test.js Actually run all the tests 2013-07-10 19:36:55 -07:00