Go to file
Bartosz Dziewoński 57ad605dc4 ApiVisualEditor: Return 'etag' with 'content' for preloaded content
Previously we were not returning it, so when saving the edit, wikitext
syntax would not be preserved. This was probably not a big problem,
but I noticed it coming up in the logs for T233320.

Now making an edit starting with preloaded content behaves like
switching from wikitext to visual mode, rather than like starting the
edit in visual mode.

Similar to 679e777cfa.

Bug: T233320
Change-Id: Id1ee6877b103fa4274deec11b1b3cacbdcdae606
2019-10-23 22:24:52 +02:00
.jsduck Update VE core submodule to master (3fac5f1f2) 2019-10-23 18:34:17 +02:00
.phan Add phan 2019-05-31 14:48:22 +00:00
bin updateSubmodule: Put list in topo (merged), not written, order 2018-05-10 08:51:37 -07:00
build eslint: Remove unused prefer-template rule; use proper globals values 2019-10-07 17:22:24 +00:00
i18n Localisation updates from https://translatewiki.net. 2019-10-23 09:54:17 +02:00
images Merge "Re-crush beta feature SVG screenshots" 2018-02-08 12:18:28 +00:00
includes ApiVisualEditor: Return 'etag' with 'content' for preloaded content 2019-10-23 22:24:52 +02:00
lib Update VE core submodule to master (3fac5f1f2) 2019-10-23 18:34:17 +02:00
maintenance Don't use Maintenance::$mDescription directly 2019-06-14 17:52:36 -07:00
modules Merge "ve.init.mw.MobileArticleTarget: Remove error handling hacks for MobileFrontend" 2019-10-22 15:42:32 +00:00
screenshots Add screenshots grunt task for taking documentation screenshots 2016-06-27 12:19:35 +01:00
.eslintrc.json eslint: Remove unused prefer-template rule; use proper globals values 2019-10-07 17:22:24 +00:00
.gitignore eslint: Enable caching 2019-02-19 18:53:11 +00:00
.gitmodules .gitmodules: Update gerrit URI syntax, deprecated ages ago, now unsupported 2019-03-19 16:49:03 +00:00
.gitreview .gitreview: swapping defaultbranch for track 2016-10-25 10:58:48 +02:00
.mailmap Update AUTHORS.txt for the last couple of years' work 2018-01-03 11:51:37 -08:00
.phpcs.xml build: Upgrade mediawiki-codesniffer to v28.0.0 2019-10-11 12:42:23 -07:00
.rubocop.yml build: Bump Ruby cruft to avoid security warnings for old rubocop 2017-11-28 12:09:20 -08:00
.rubocop_todo.yml build: Bump Ruby cruft to avoid security warnings for old rubocop 2017-11-28 12:09:20 -08:00
.stylelintrc.json stylelint: Enforce class name pattern 2019-01-13 15:14:53 +00:00
AUTHORS.txt Remove EasyDeflate libs, upstreamed to core 2018-07-26 18:18:52 +00:00
composer.json build: Bump mediawiki-phan-config to 0.8.0 2019-10-20 12:27:16 +00:00
CONTRIBUTING.md Update link to contributing guidelines 2017-08-21 18:22:35 -04:00
extension.json Update VE core submodule to master (3fac5f1f2) 2019-10-23 18:34:17 +02:00
Gemfile build: Use commons_upload v1.2.1 Ruby gem for language screenshots 2018-03-15 17:32:47 +01:00
Gemfile.lock build: Use commons_upload v1.2.1 Ruby gem for language screenshots 2018-03-15 17:32:47 +01:00
Gruntfile.js build: Update linters 2019-09-18 19:11:45 +01:00
jsduck.json Update VE core submodule to master (0b17a137b) 2019-09-05 13:03:41 -07:00
LICENSE.txt doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
package-lock.json build: Update eslint-config-wikimedia and fix 2019-10-03 00:54:54 +01:00
package.json build: Update eslint-config-wikimedia and fix 2019-10-03 00:54:54 +01:00
Rakefile build: npm/rake entry point for screenshots upload 2018-03-07 23:23:30 +01:00
README.md README: Add devDependencies badge 2014-09-16 13:39:31 -07:00
VisualEditor.i18n.alias.php doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
VisualEditor.php doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00: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.