Go to file
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
.docs Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
demos Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
maintenance Maintenance script: Update header 2013-02-26 16:06:16 +01:00
modules Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
.gitignore Ignore Eclipse files 2013-01-11 10:58:47 -08:00
.gitreview Set defaultrebase=0 2012-06-20 16:27:40 -07:00
.jshintignore Make JSHint ignore the docs/ directory 2013-02-01 10:19:33 -08:00
.jshintrc inheritClass: Implement inherited 'static' property for classes. 2012-10-09 18:29:41 +00:00
ApiVisualEditor.php Pass through error message to VE if Parsoid is unreachable. 2013-03-11 18:01:36 +00:00
AUTHORS.txt Add Ed 2013-02-12 16:06:21 -08:00
CODING.md Implement inline documentation examples. 2013-02-08 17:47:10 -08:00
LICENSE.txt Changed to use MIT license per agreement with the VisualEditor team 2012-07-19 13:25:45 -07:00
README.txt Remove the parser from the VE repo 2012-07-30 13:19:09 -07:00
VisualEditor.hooks.php Only unwrap { generated: wrapper } based on context. 2013-03-13 00:42:16 +00:00
VisualEditor.i18n.php Context, frame, window, dialog and inspector refactor 2013-03-14 00:03:31 +00:00
VisualEditor.php Change MetaNodes to MetaItems 2013-03-14 23:35:50 -07:00
VisualEditorMessagesModule.php Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00

VisualEditor provides a visual editor for wiki pages. It is written in
JavaScript and runs in a web browser. 

It uses the Parsoid parser to convert wikitext documents to annotated HTML
which the VisualEditor is able to load, modify and emit back to Parsoid at
which point it is converted back into wikitext.

For more information about these projects, check out the wiki:

	* http://www.mediawiki.org/wiki/VisualEditor
	* http://www.mediawiki.org/wiki/Parsoid