Go to file
Thiemo Kreuz 434c11f6de Fix incomplete template dialog event handling in new sidebar
Notably:
* Don't require the model in the new sidebar via dependency
  injection, but connect the event handlers later. This is
  relevant because we currently create the new sidebar in the
  wrong spot. Removing the hard dependency allows us to split
  the code and utilize initialize() and getSetupProcess()
  correctly. This will be done in a following patch.
* The change event now includes the new position. This makes
  it very easy to add this missing feature to the new sidebar.

Also:
* Stop triggering change events when nothing changed. These
  events are expensive. They bubble all the way up to the
  TransclusionModel, and to all linked
  onTransclusionModelChange() handlers.
* Update event documentation to make this more visible.

Bug: T274544
Change-Id: Iafe29f18a6fed14d9c3124c9756aa840886afbbc
2021-07-16 11:29:26 +00:00
.jsduck Rename OutlineParameterCheckboxWidget to OutlineParameterCheckboxLayout 2021-06-21 09:08:54 +02:00
.phan Zero-configuration VisualEditor + PHP for MediaWiki LTS 2020-07-13 18:39:08 +00:00
bin updateSubmodule: Put list in topo (merged), not written, order 2018-05-10 08:51:37 -07:00
build Support watchlist expiry 2021-06-08 20:14:45 +00:00
i18n Merge "Add parameter search to sidebar of VE TemplateDialog" 2021-07-16 10:06:15 +00:00
images Merge "Re-crush beta feature SVG screenshots" 2018-02-08 12:18:28 +00:00
includes Remove the fallback for create rights 2021-06-29 19:31:07 +03:00
lib Update VE core submodule to master (144837b20) 2021-06-29 18:32:42 +02:00
maintenance Avoid using User::setOption() 2021-03-30 21:47:04 +00:00
modules Fix incomplete template dialog event handling in new sidebar 2021-07-16 11:29:26 +00:00
screenshots
.eslintrc.json build: Remove max-len over-ride (leave as warning) 2021-06-28 11:30:06 +01: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
.mailmap Update AUTHORS.txt for the last couple of years' work 2018-01-03 11:51:37 -08:00
.phpcs.xml Fix a series of minor style issues in PHP code 2021-06-03 15:55:38 +02:00
.stylelintrc.json build: Use "Grade A" rules for stylelint 2020-12-01 08:35:03 -08:00
AUTHORS.txt Update principal authors 2020-05-15 20:25:36 +01:00
composer.json build: Updating composer dependencies 2021-04-29 19:18:20 +00:00
CONTRIBUTING.md doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
extension.json Add parameter search to sidebar of VE TemplateDialog 2021-07-16 09:48:29 +00:00
Gruntfile.js stylelint: Remove needless disables 2020-11-19 23:38:11 +00:00
jsduck.json Update all tests in the ve-mw module to use ES6 syntax 2021-04-30 08:07:54 +00:00
LICENSE.txt doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
package-lock.json build: Updating npm dependencies 2021-05-25 02:25:27 +00:00
package.json build: Updating npm dependencies 2021-05-07 21:18:30 +00:00
Rakefile build: npm/rake entry point for screenshots upload 2018-03-07 23:23:30 +01:00
README.md Add terminology section to README 2021-06-21 12:39:26 +02:00
VisualEditor.i18n.alias.php doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08: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.

Terminology