mediawiki-extensions-Visual.../modules/ve-mw/ce
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
..
annotations ce.MWInternalLinkAnnotation: Remove outdated ../ stripping code 2015-04-20 20:56:37 -07:00
nodes Detect paste of wikitext and convert it 2015-08-18 15:16:06 +00:00
styles/nodes Make missingref references uneditable, not uninspectable 2015-07-24 12:03:05 -07:00
ve.ce.MWResizableNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00