Go to file
Roan Kattouw 293609e5d8 Unbind confirm dialog handlers after either of the events fires once
We weren't unbinding these handlers at all, and so the 'ok' or 'cancel'
handlers could run multiple times for one button click, and even worse,
you could get in a situation where clicking 'ok' in one confirm dialog
would also run the 'ok' handler for the other one. This happens because
the ConfirmDialog instance is recycled by the WindowSet.

The way the unbinding is done is ugly; we should either consolidate the
'ok' and 'cancel' events so we can use .once(), or come up with some other
way to automatically unbind the handlers.

Bug: 65557
Change-Id: Iabf0c0d0229add09cc775358fc5a4e5ae783db04
2014-05-20 19:11:45 -07:00
.docs Update VE core submodule to master (19be0c1) 2014-05-14 15:27:46 -07:00
bin generateDocs.sh: Simplify 2014-05-03 21:16:24 +02:00
build/tasks Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
lib Update VE core submodule to master (ced9f77) 2014-05-15 18:49:50 +02:00
modules Unbind confirm dialog handlers after either of the events fires once 2014-05-20 19:11:45 -07:00
.csslintrc Add .csslintrc file and fix remaining warnings 2013-06-05 11:07:00 +00:00
.gitignore Implement Grunt support (grunt jshint,csslint,qunit,watch) 2013-06-05 11:10:23 +00:00
.gitmodules Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
.gitreview Set defaultrebase=0 2012-06-20 16:27:40 -07:00
.jscsrc build: Update jscs and jshint 2014-05-15 16:52:34 +00:00
.jshintignore Move libraries to the lib/ directory 2013-12-19 23:02:52 +01:00
.jshintrc build: Update jscs and jshint 2014-05-15 16:52:34 +00:00
ApiVisualEditor.php Add class name to protected pages, to allow for specific CSS styling of edit area 2014-04-30 13:59:30 -07:00
ApiVisualEditorEdit.php Remove useless isset 2014-04-17 08:17:16 +00:00
AUTHORS.txt Add Moriel Schottlender to AUTHORS.txt and authors string 2013-10-23 11:24:03 -07:00
betafeatures-icon-VisualEditor-language-ltr.svg Enable the language tool as a Beta Feature 2014-04-23 17:46:27 -07:00
betafeatures-icon-VisualEditor-language-rtl.svg Enable the language tool as a Beta Feature 2014-04-23 17:46:27 -07:00
betafeatures-icon-VisualEditor-ltr.svg Adapt beta features icons for RTL 2013-11-08 18:33:53 +02:00
betafeatures-icon-VisualEditor-rtl.svg Adapt beta features icons for RTL 2013-11-08 18:33:53 +02:00
CONTRIBUTING.md Fix dead links in README.md and CONTRIBUTING.md 2014-03-10 18:26:30 +01:00
Gruntfile.js build: Update jscs and jshint 2014-05-15 16:52:34 +00:00
LICENSE.txt Fix more copyright headers not updated to 2014 2014-01-13 15:08:24 +00:00
package.json build: Update jscs and jshint 2014-05-15 16:52:34 +00:00
README.md Fix dead links in README.md and CONTRIBUTING.md 2014-03-10 18:26:30 +01:00
VisualEditor.hooks.php Swap from using native confirm() to using an OOUI dialog when cancelling 2014-05-14 23:00:35 +00:00
VisualEditor.i18n.php Adding a comment explaining where the i18n messages are 2014-03-12 17:41:42 -07:00
VisualEditor.php Merge "Image model and the media edit dialog" 2014-05-20 01:15:31 +00:00
VisualEditorDataModule.php Moving citation tool code in API module into its own function 2014-05-09 08:56:40 +00:00

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.