mediawiki-extensions-Visual.../modules/ve/test/dm
Catrope a835c03bc1 Change MetaNodes to MetaItems
Rather than meta-things being special kinds of nodes, they are now a
separate class of things (MetaItems) along with Nodes and Annotations.

* Created a generic ve.dm.MetaItem that meta items inherit from.
  There will be actual instances of this class as well in the upcoming
  meta group code.
* Renamed MetaNode to AlienMetaItem, MWMetaNode to MWMetaItem,
  'metaBlock'/'metaInline' to 'alienMeta'
* Created a MetaItemFactory, handle meta items in the ModelRegistry
* Kill ve.dm.Node.static.isMeta, now obsolete

ve.dm.Converter:
* Pass in the MetaItemFactory
* Look up data element types in the ModelRegistry rather than the
  NodeFactory, because they can be either nodes or meta items
* Document createDataElement() and make explicit that modelClass can be
  either a node or a meta item
* Handle meta items in getDataFromDom()
* In getDomFromData(), check the MetaItemFactory as well as the NodeFactory

Change-Id: I893709c6f3aa00f85c1b905b70f9f4e597bdeada
2013-03-14 23:35:50 -07:00
..
nodes Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.BranchNode.test.js Correct name of can(Node)HaveGrandchildren functions 2013-03-13 23:25:33 +00:00
ve.dm.Converter.test.js Create MediaWiki specific nodes to contain MW specific rules. 2013-03-12 16:28:29 -07:00
ve.dm.Document.test.js Add support for non-Latin scripts to wordBoundaryPattern 2013-03-14 11:17:28 -07:00
ve.dm.DocumentSynchronizer.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.example.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.LeafNode.test.js Correct name of can(Node)HaveGrandchildren functions 2013-03-13 23:25:33 +00:00
ve.dm.ModelRegistry.test.js Use static.name once for ce and dm nodes 2013-03-07 17:19:39 -08:00
ve.dm.Node.test.js Correct name of can(Node)HaveGrandchildren functions 2013-03-13 23:25:33 +00:00
ve.dm.NodeFactory.test.js Correct name of can(Node)HaveGrandchildren functions 2013-03-13 23:25:33 +00:00
ve.dm.Surface.test.js Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00
ve.dm.SurfaceFragment.test.js Refactor convert to use isolateAndUnwrap 2013-03-13 01:07:52 +00:00
ve.dm.Transaction.test.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
ve.dm.TransactionProcessor.test.js Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00