Go to file
Bartosz Dziewoński df9e564b73 Stop requiring deprecated EditPage::getCheckboxes()
Instead, use getCheckboxesDefinition(), and build our save form
checkboxes from that rather than extracting them from the HTML.

The ability to have non-checkbox fields there is removed, as that was
never intentional and is now impossible.

To avoid transient problems during deployment (old JS code cached in
the user's browser receiving the new format of API responses), the old
property is kept in the API response. We should remove it next week.

Bug: T174613
Bug: T174686
Change-Id: I5bfca5e116fe790302c3b6ac1357e80237fb1ed2
2017-08-31 17:47:15 +02:00
.jsduck Update VE core submodule to master (cd4e0fa2d) 2017-06-01 07:50:31 -07: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: Upgrade grunt-eslint from 19.0.0 to 20.0.0 2017-07-18 12:55:33 +01:00
lib Update VE core submodule to master (d7bb71b95) 2017-08-23 08:22:27 -07:00
modules Stop requiring deprecated EditPage::getCheckboxes() 2017-08-31 17:47:15 +02: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 .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.json Update VE core submodule to master (6111ca575) 2017-08-21 11:28:34 -07:00
ApiVisualEditor.php Stop requiring deprecated EditPage::getCheckboxes() 2017-08-31 17:47:15 +02:00
ApiVisualEditorEdit.php build: Updating mediawiki/mediawiki-codesniffer to 0.9.0 2017-06-26 19:18:47 +02: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: 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: Update mediawiki/mediawiki-codesniffer to 0.11.1 2017-08-16 01:23:51 -07:00
CONTRIBUTING.md Update link to contributing guidelines 2017-08-21 18:22:35 -04:00
extension.json Merge "Move historical diff loading to DiffLoader util" 2017-08-24 18:33:45 +00: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 Update VE core submodule to master (6111ca575) 2017-08-21 11:28:34 -07:00
jsduck.json jsduck: Explcitly name library files so we don't pull in CSS files 2017-08-02 14:29:13 -07:00
LICENSE.txt build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
package.json build: Update eslint-config-wikimedia 0.4->0.5 2017-08-25 16:08:08 +01:00
phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 0.10.0 2017-07-01 08:49:44 +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 Set wgRevisionId on overridden edit page 2017-08-25 15:26:30 +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: Do not expand templates in plain text messages 2017-08-23 20:08:36 +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.