Go to file
Ed Sanders 0e6d8d5fff Show visual diffs on DiffPage
Only shown if VisualEditorEnableDiffPage is set, or query
string param 'visualdiff' is present.

Currently:
* All VE javascript is loaded (could be cut down to just DM code)
* The entire Parsoid HTML of both revisions being compared is loaded
* Both Parsoid HTML docs are parsed into VE DM trees and diffed

Bug: T167508
Change-Id: I151fc9bab3d3032f50c8d11be6b54e45a06fcc34
2017-06-16 19:29:19 +01:00
.jsduck Update VE core submodule to master (cd4e0fa2d) 2017-06-01 07:50:31 -07:00
bin
build Use static parseDocument method 2017-06-08 14:43:09 +01:00
lib Update VE core submodule to master (05375f324) 2017-06-01 17:32:52 -07:00
modules Show visual diffs on DiffPage 2017-06-16 19:29:19 +01:00
screenshots Add screenshots grunt task for taking documentation screenshots 2016-06-27 12:19:35 +01:00
.eslintrc.json mw.DesktopArticleTarget: Use require() for mw.page.watch 2017-05-24 21:17:02 +00:00
.gitignore Add .idea to .gitignore 2017-01-27 13:16:58 +01:00
.gitmodules
.gitreview .gitreview: swapping defaultbranch for track 2016-10-25 10:58:48 +02:00
.mailmap
.rubocop.yml
.rubocop_todo.yml
.stylelintrc
ApiVisualEditor.php Merge "[BREAKING CHANGE] Drop support for contacting Parsoid without VirtualRestConfig" 2017-05-23 19:04:37 +00:00
ApiVisualEditorEdit.php build: Enable MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2017-05-11 08:19:44 -07:00
AUTHORS.txt
autodisablePref.php build: Enable MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2017-05-11 08:19:44 -07:00
betafeatures-icon-VisualEditor-ltr.svg Update beta feature screenshots to use proper layout and colours 2016-10-12 16:39:27 -07:00
betafeatures-icon-VisualEditor-rtl.svg Update beta feature screenshots to use proper layout and colours 2016-10-12 16:39:27 -07:00
betafeatures-icon-WikitextEditor-ltr.svg Update beta feature screenshots to use proper layout and colours 2016-10-12 16:39:27 -07:00
betafeatures-icon-WikitextEditor-rtl.svg Update beta feature screenshots to use proper layout and colours 2016-10-12 16:39:27 -07:00
composer.json build: Bump mediawiki-codesniffer to 0.8.0 and make pass 2017-05-11 08:19:44 -07:00
CONTRIBUTING.md
extension.json Show visual diffs on DiffPage 2017-06-16 19:29:19 +01:00
Gemfile Update tests to Selenium 3 2017-02-28 14:39:00 +01:00
Gemfile.lock Update tests to Selenium 3 2017-02-28 14:39:00 +01:00
Gruntfile.js Avoid global variables in tests and build 2017-04-29 12:37:53 +01:00
jsduck.json Update VE core submodule to master (977d3ad) 2016-10-31 17:35:46 -04:00
LICENSE.txt build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
package.json build: Update eslint to 0.4.0 and make pass 2017-05-04 21:28:17 +00:00
phpcs.xml build: Enable MediaWiki.Commenting.FunctionComment.MissingParamComment 2017-05-11 21:20:37 +00:00
Rakefile
README.md
VisualEditor.hooks.php Show visual diffs on DiffPage 2017-06-16 19:29:19 +01:00
VisualEditor.i18n.alias.php Provide VE-rebaser in MediaWiki as Special:CollabPad 2017-05-20 19:51:09 +00:00
VisualEditor.php build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
VisualEditorDataModule.php VisualEditorDataModule: Pass save/publish button label to 'missingsummary' message 2017-05-29 21:12:54 +02:00
VisualEditorDesktopArticleTargetInitModule.php build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00

devDependency Status

VisualEditor

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 VisualEditor and Parsoid pages on mediawiki.

Developing and installing

For information on installing VisualEditor on a local wiki, please see https://www.mediawiki.org/wiki/Extension:VisualEditor

For information about running tests and contributing code to VisualEditor, see CONTRIBUTING.md. Patch submissions are reviewed and managed with Gerrit. There is also API documentation available for the VisualEditor.