Go to file
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
.docs docgen: Use new jsduck --color and --warnings-exit-nonzero option 2013-04-30 20:53:22 +02:00
demos Add support for <div>s as user-editable blocks 2013-04-30 18:43:41 -07:00
maintenance makeStaticLoader: Implement --write-file option 2013-04-30 15:08:55 +00:00
modules Force about grouping for multi-element about groups 2013-05-05 00:07:29 -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 UnicodeJS library to implement Unicode standards 2013-03-27 17:44:22 +00:00
.jshintrc JSHint: Re-order jshintrc options to split common from project settings 2013-04-13 08:53:11 +02:00
ApiVisualEditor.php Merge "Show message 'anoneditwarning' in notices when applicable" 2013-05-03 17:41:49 +00:00
AUTHORS.txt Add Matma Rex to AUTHORS.txt 2013-04-26 16:13:58 -07:00
CODING.md Document and clean up events in all the things 2013-03-20 09:58:27 -07:00
LICENSE.txt Bump copyright year range to 2013 in the licence file 2013-03-18 09:55:57 -07:00
README.txt Remove the parser from the VE repo 2012-07-30 13:19:09 -07:00
VisualEditor.hooks.php Do not have ignoreHidden set to true 2013-04-25 15:12:47 -07:00
VisualEditor.i18n.php Localisation updates from http://translatewiki.net. 2013-05-04 20:26:23 +00:00
VisualEditor.php Add support for <div>s as user-editable blocks 2013-04-30 18:43:41 -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