mediawiki-extensions-Visual.../modules/ve-mw/tests
C. Scott Ananian a6775796fe Detect paste of wikitext and convert it
This invokes Parsoid to convert likely wikitext pastes.

This addresses about 20% of the <nowiki> insertion quantified at
https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:%C3%89diteurVisuel/Avis/Nowiki
for 2015-04-08 which were due to inadvertent pastes of wikitext.

For a better user experience, suppress Parsoid's P-wrapping if the
output consists of a single top-level P element.  This ensures that
pasting '[[Foo]]' won't add an unexpected newline before the paste.

Bug: T54204
Bug: T109449
Change-Id: I26a4cd8dc5b7e7caf16ca081dbe7baf6a7db8e5c
2015-08-18 15:16:06 +00:00
..
browser Localisation updates from https://translatewiki.net. 2015-08-16 21:57:49 +02:00
ce build: Drop last jscs over-ride and make pass 2015-07-22 15:13:09 -07:00
dm Update VE core submodule to master (cf224ad) 2015-08-18 10:24:39 +01:00
init/targets MW target: Make 'static' methods either static or be instance methods 2015-08-01 22:38:49 +00:00
ui Detect paste of wikitext and convert it 2015-08-18 15:16:06 +00:00
mw-preload.js test: Omit 'window' in mw-preload.js 2014-11-19 01:46:38 +00:00
ve.test.utils.js Unregister core image types 2015-06-02 14:36:14 +01:00