mediawiki-extensions-Visual.../modules/ve-mw
Roan Kattouw 70c64e0613 mw.Target: Hopefully fix plugin garbage removal code
Follows-up 0547d8c8.

It's still very difficult to test whether this code works, but
doing $( newDoc ).remove( 'selector1' ).remove( 'selector2' )...
demonstrably doesn't work, because 1) the selector passed to remove()
filters the collection, it doesn't descend into it, and 2) remove()
returns the collection of removed items, so chaining it doesn't work.

Instead, use $( newDoc ).find( 'selector1, selector2, ...' ).remove();

Also normalise selectors.

Change-Id: I97f3b28c4d5120f08e5d7fbf4598ddc0c01d4ecf
2015-02-17 23:52:41 +00:00
..
ce Use css class instead of jquery show/hide 2015-02-06 11:03:59 -08:00
dm Fix clipboard DM for transclusion nodes starting with invisible tags 2015-02-16 16:52:07 +00:00
i18n Localisation updates from https://translatewiki.net. 2015-02-16 21:58:33 +01:00
init mw.Target: Hopefully fix plugin garbage removal code 2015-02-17 23:52:41 +00:00
tests Update VE core submodule to master (f86c97c) 2015-02-16 11:44:34 -08:00
ui Correct the license URL in the media dialog 2015-02-16 14:49:12 -08:00