mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
8ae4925676
* Change the query in ve.init.mw.ArticleTargetLoader#requestParsoidData so that in non-RESTBase mode with wikitext it still returns the metadata required to initialize the editor, using the backend API code added in I1b35b28e428a1f86d2e34d90ddbe73361ce14818. This fixes the exception from T222312. * Introduce new configuration option $wgVisualEditorAllowLossySwitching to control this feature. It is enabled by default, fixing T214542. We allow it to be disabled because switching in non-RESTBase mode may cause "dirty diffs" (non-semantic changes to the wikitext), which are undesirable on wikis where users carefully review all changes. Bug: T214542 Bug: T222312 Change-Id: I58879cba5612002c70c24731306214d2577c2c52 |
||
---|---|---|
.jsduck | ||
bin | ||
build | ||
i18n | ||
images | ||
includes | ||
lib | ||
maintenance | ||
modules | ||
screenshots | ||
.eslintrc.json | ||
.gitignore | ||
.gitmodules | ||
.gitreview | ||
.mailmap | ||
.phpcs.xml | ||
.rubocop.yml | ||
.rubocop_todo.yml | ||
.stylelintrc.json | ||
AUTHORS.txt | ||
composer.json | ||
CONTRIBUTING.md | ||
extension.json | ||
Gemfile | ||
Gemfile.lock | ||
Gruntfile.js | ||
jsduck.json | ||
LICENSE.txt | ||
package.json | ||
Rakefile | ||
README.md | ||
VisualEditor.i18n.alias.php | ||
VisualEditor.php |
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.