Go to file
Roan Kattouw e0125e3e9d DesktopArticleTarget: Move shouldShowWelcomeDialog() to init
Move shouldShowWelcomeDialog() and stopShowingWelcomeDialog() from
DesktopArticleTarget to DesktopArticleTarget.init, and use them to
deduplicate code in init that manages the wikitext welcome dialog.

Look for both the vehidebetadialog and hidewelcomedialog URL params.
The code in DesktopArticleTarget used vehidebetadialog, but the code in
init for the wikitext welcome dialog used hidewelcomedialog.

Bug: T249954
Change-Id: I19f1a2da36bc65addb52811c3d3c73c1259bc8f5
2020-04-21 11:41:59 -07:00
.jsduck Update VE core submodule to master (cf72879d2) 2020-03-19 12:26:26 -07: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: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +01:00
i18n Localisation updates from https://translatewiki.net. 2020-04-17 09:07:51 +02:00
images
includes Remove some hardcoded CAPTCHA support code 2020-04-15 13:18:47 +00:00
lib Update VE core submodule to master (8cc305d97) 2020-04-15 20:09:54 -07:00
maintenance doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
modules DesktopArticleTarget: Move shouldShowWelcomeDialog() to init 2020-04-21 11:41:59 -07:00
screenshots
.eslintrc.json eslint: Enable the mediawiki/class-doc rule and make pass 2020-04-17 22:59:11 +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
.phpcs.xml Fix new documentation sniffs 2020-01-10 16:28:16 -08:00
.rubocop.yml
.rubocop_todo.yml
.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 phan to 0.10.2, remove taint-check 2020-04-15 09:26:51 -07:00
CONTRIBUTING.md doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
extension.json Remove some hardcoded CAPTCHA support code 2020-04-15 13:18:47 +00: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-11-01 16:20:22 +00: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 2020 2020-01-08 09:13:24 -08:00
package-lock.json build: Updating npm dependencies 2020-04-16 22:55:11 +00:00
package.json build: Updating npm dependencies 2020-04-16 22:55:11 +00:00
Rakefile build: npm/rake entry point for screenshots upload 2018-03-07 23:23:30 +01:00
README.md README.md: Drop DavidDM badges, we use LibraryUpgrader now 2020-02-24 13:42:58 -08:00
VisualEditor.i18n.alias.php doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
VisualEditor.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.