mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 14:33:59 +00:00
b0f464ef0e
Objectives: * Refactor template dialog to support loading template data for, and editing multiple templates and interleaved content in a template node * Update template node model to generate multi-template wikitext Changes: ve.dm.MWTemplateNode.js * Rewrite getWikitext method to work with multi-template formats ve.dm.MWTemplateDialog.js * Retain information about the node and template calls * Break AJAX handler into its own method * Attach event handlers to inputs directly so template values are edited directly on the fly * Refactor page building to support multiple templates * Add multi-template support for template data API call * Add support for editing plain text content Change-Id: I92ff8a9e186701a3f8da88def92a5b7dcb607897 |
||
---|---|---|
.docs | ||
demos | ||
maintenance | ||
modules | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
ApiVisualEditor.php | ||
AUTHORS.txt | ||
CODING.md | ||
LICENSE.txt | ||
README.txt | ||
VisualEditor.hooks.php | ||
VisualEditor.i18n.php | ||
VisualEditor.php | ||
VisualEditorMessagesModule.php |
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