mediawiki-extensions-Visual.../modules/ve/dm
Ed Sanders cdfed7039f Handle meta-only transclusions as meta items
To achieve this we need to evaluate the DOM contents of
transclusion nodes to see if it consists solely of meta items
and whitespace.

To check for meta items we do a model registry match, but with an
additional parameter to exclude mwTransclusion types as a possible
result (as the first item may be a meta tag, but with a mw:Transclusion
typeof attribute).

Bug: 51322
Change-Id: I89a220350fb7e10e15f3682d21438539196a5846
2013-07-24 14:27:24 +00:00
..
annotations De-alienate <code>foo</code> blocks (code element) 2013-07-19 00:48:46 +00:00
lineardata Fix getAnnotationIndexesFromOffset for last offset in doc 2013-07-17 19:10:38 +00:00
metaitems The great directory split of 2013 2013-07-02 20:51:38 -07:00
nodes Revert "Add support for <blockquote> elements" 2013-07-09 21:35:47 +00:00
ve.dm.Annotation.js Move getHashObject() from dm.Node up into dm.Model 2013-07-16 19:04:53 -07:00
ve.dm.AnnotationFactory.js
ve.dm.AnnotationSet.js HACK: Don't merge adjacent annotations from Parsoid 2013-07-14 18:36:33 -07:00
ve.dm.BranchNode.js Store DM nodes in InternalList 2013-06-03 22:10:07 +01:00
ve.dm.Converter.js Handle meta-only transclusions as meta items 2013-07-24 14:27:24 +00:00
ve.dm.DataString.js Code style fixes 2013-05-06 12:36:52 +01:00
ve.dm.Document.js Merge "Invoke getClonedElement() on each element on copy" 2013-06-27 22:31:39 +00:00
ve.dm.DocumentSlice.js Invoke getClonedElement() on each element on copy 2013-06-27 14:20:53 -07:00
ve.dm.DocumentSynchronizer.js
ve.dm.IndexValueStore.js Preserve location of reference body within key 2013-06-10 02:54:26 +00:00
ve.dm.InternalList.js Some basic async code in the initialization 2013-07-01 13:02:10 -07:00
ve.dm.js
ve.dm.LeafNode.js
ve.dm.LinearData.js Move common linear data methods into LinearData.static 2013-07-15 11:29:54 +01:00
ve.dm.MetaItem.js Fieldsets and default sort keys 2013-05-10 16:46:08 -07:00
ve.dm.MetaItemFactory.js Make .static.storeHtmlAttributes more versatile 2013-05-07 14:45:26 -07:00
ve.dm.MetaList.js Actually use op.retainMetadata in structural replace mode 2013-07-12 15:57:26 -07:00
ve.dm.Model.js Move getHashObject() from dm.Node up into dm.Model 2013-07-16 19:04:53 -07:00
ve.dm.ModelRegistry.js Handle meta-only transclusions as meta items 2013-07-24 14:27:24 +00:00
ve.dm.Node.js Move getHashObject() from dm.Node up into dm.Model 2013-07-16 19:04:53 -07:00
ve.dm.NodeFactory.js ve.ce.Document: Introduce getRelativeRange method 2013-06-05 13:10:38 +01:00
ve.dm.Surface.js ve.dm.Surface: Fix incorrect @return for #getDocument 2013-07-10 01:46:55 +02:00
ve.dm.SurfaceFragment.js Compare annotations by name only when clearing/toggling 2013-07-16 00:05:11 +01:00
ve.dm.Transaction.js Revert "ve.dm.Transaction: Implement newFromDocumentInsertion" 2013-06-25 22:08:37 +00:00
ve.dm.TransactionProcessor.js Actually use op.retainMetadata in structural replace mode 2013-07-12 15:57:26 -07:00