mediawiki-extensions-Visual.../modules/ve/test
Roan Kattouw ef24ac5879 Force about grouping for multi-element about groups
When converting an element that starts an about group with at
least one other element in it, we now only consider models that
support about grouping. This prevents the first node from being
converted to something else and leaving the others hanging.

In practical terms, this means that elements like
<link rel="mw:WikiLink/Category" typeof="mw:Object/Template">
get alienated and pull in the rest of their about group, rather than
being converted to a category or alienMeta or whatever and
leaving the other elements to be converted normally.

Added a test case that asserts this. Really the result should be an
MWtemplate rather than an alien, but that's a separate issue.
Also removed superfluous mustMatchAll checks; we've already
filtered the array by the time we get there.

Change-Id: I522ba4c56d5bc52c7e9aab1e2535385540c1315d
2013-05-05 00:07:29 -07:00
..
actions Remove all code related to change markers 2013-04-30 23:15:47 +01:00
ce Per Timo's comment, change $.makeArray( foo ) to foo.toArray() 2013-04-29 18:08:04 -07:00
dm Force about grouping for multi-element about groups 2013-05-05 00:07:29 -07:00
init
example.png Test: Fix 404 errors in example images. 2013-04-02 23:52:02 +02:00
index.php Add support for <div>s as user-editable blocks 2013-04-30 18:43:41 -07:00
ve.BranchNode.test.js
ve.Document.test.js
ve.example.js
ve.Factory.test.js
ve.LeafNode.test.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.Node.test.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.qunit.js Use duck typing instead of instanceof Node 2013-04-29 17:24:41 -07:00
ve.Range.test.js Minor comment and licence fixes 2013-03-19 20:54:01 +00:00
ve.test.js Stop dropping properties in copyObject/copyArray 2013-04-26 15:41:56 -07:00
ve.Trigger.test.js