Go to file
James D. Forrester 446b16e71a ApiVisualEditorEdit: Use 'html' format for API errors so we can see them
The Translate extension emits errors when the saved text is in error —

* pt-parse-open,
* pt-parse-close,
* pt-shake-position,
* pt-shake-multiple,
* pt-shake-empty, or
* pt-parse-nested

Switching to 'html' error message format means we pay attention to the top
error, displayed in the user's language. This avoids showing 'editaborted'
generic messages when we can actually help people with specifics.

Change-Id: Id9d7e510e32a3a13cc061648679e01edd68a3868
2017-01-11 16:30:01 -08:00
.jsduck Update VE core submodule to master (327a277) 2016-12-06 11:24:55 -08:00
bin Merge "Add a clean-up script for use as a pre-commit hook" 2015-09-14 00:33:31 +00:00
build build: Replace jscs and jshint with eslint 2016-10-28 18:33:15 +00:00
lib Update VE core submodule to master (460f16c) 2017-01-10 10:39:15 -08:00
modules ArticleTarget: Give users a specific message when HookAborted errors happen 2017-01-11 10:46:30 -08:00
screenshots Add screenshots grunt task for taking documentation screenshots 2016-06-27 12:19:35 +01:00
.eslintrc.json eslint: Re-enable wrap-iife and partially enable dot-notation 2016-11-12 14:43:43 +00:00
.gitignore Git-ignore generated screenshots 2016-08-07 12:47:58 -07:00
.gitmodules Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
.gitreview .gitreview: swapping defaultbranch for track 2016-10-25 10:58:48 +02:00
.mailmap .mailmap: Add some extra addresses and change default for rmoen 2015-11-30 12:56:01 -08:00
.rubocop.yml [BrowserTest] Fix ve.init is undefined error messages in Selenium tests 2016-02-18 15:42:05 +01:00
.rubocop_todo.yml [BrowserTest] Fix ve.init is undefined error messages in Selenium tests 2016-02-18 15:42:05 +01:00
.stylelintrc build: Use grunt-stylelint from npm 2016-05-17 16:24:39 +01:00
ApiVisualEditor.php More error handling fixes 2017-01-05 15:13:02 +00:00
ApiVisualEditorEdit.php ApiVisualEditorEdit: Use 'html' format for API errors so we can see them 2017-01-11 16:30:01 -08:00
AUTHORS.txt AUTHORS.txt: Be more strict about 'principal' authors and update addresses 2015-11-30 12:56:02 -08:00
autodisablePref.php build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08: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: Updating mediawiki/mediawiki-codesniffer to 0.7.2 2016-05-27 18:26:36 -07:00
CONTRIBUTING.md Add a clean-up script for use as a pre-commit hook 2015-07-03 01:57:03 +00:00
extension.json ArticleTarget: Give users a specific message when HookAborted errors happen 2017-01-11 10:46:30 -08:00
Gemfile The latest version of commons_upload Ruby gem is needed for language screenshots 2016-08-24 18:05:37 +02:00
Gemfile.lock The latest version of commons_upload Ruby gem is needed for language screenshots 2016-08-24 18:05:37 +02:00
Gruntfile.js build: Change pathPrefix for eg-iframe back from '../lib' to 'lib' 2016-11-18 16:12:16 -08: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: Bump eslint-config-wikimedia to v0.3.0 and make pass 2016-11-15 15:05:05 -08:00
phpcs.xml build: Alter settings to force utf-8 and allow .php5/.inc extensions 2015-09-28 23:11:06 +00:00
Rakefile [BrowserTest] Migration of browsertests* Jenkins jobs to selenium* jobs 2016-04-26 12:40:45 +02:00
README.md README: Add devDependencies badge 2014-09-16 13:39:31 -07:00
VisualEditor.hooks.php Merge "Don't block VE/NWE from loading if 'editintro' is specified" 2017-01-03 20:13:29 +00:00
VisualEditor.php build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
VisualEditorDataModule.php build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08: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.