Go to file
Adam Wight 150aad380d Safe to call setPage with a null page
Fixes a bug that crashes the interface when unsetting the focus after
another input was focused, because `page` is undefined in this case.

We were already calling `setPage` to unset focus, so document it.

Bug: T312017
Change-Id: I2926beffe23e0ee822f5690d4791534a5413886a
2022-07-12 13:52:30 +02:00
.jsduck Copy BookletLayout implementation from ooui-js 0.44.0 2022-06-21 11:06:44 +02:00
.phan
.vscode
bin
build eslint: Lint root files with server rules 2022-03-17 23:39:53 +00:00
i18n Localisation updates from https://translatewiki.net. 2022-07-12 08:15:57 +02:00
images
includes Merge "Avoid preloading base translation page in editor" 2022-06-26 19:17:17 +00:00
lib Update VE core submodule to master (71e970992) 2022-07-07 23:16:27 +02:00
maintenance
modules Safe to call setPage with a null page 2022-07-12 13:52:30 +02:00
screenshots
tests selenium: Enable all tests 2022-07-04 12:22:38 +00:00
.eslintignore eslint: Lint all files except those in .eslintignore 2022-04-13 15:44:49 +01:00
.eslintrc.json eslint: Lint root files with server rules 2022-03-17 23:39:53 +00:00
.gitignore
.gitmodules
.gitreview
.mailmap
.phpcs.xml ApiVisualEditor: Remove $wgTitle hack, set page for {{PAGENAME}} when needed 2022-02-28 23:43:54 +00:00
.stylelintrc.json build: Update stylelint-config-wikimedia to 0.13.0 2022-05-04 22:54:48 +01:00
AUTHORS.txt Replace non-breaking spaces in AUTHORS.txt 2022-04-19 16:09:48 +02:00
composer.json build: Updating dependencies 2022-05-20 10:06:25 +00:00
CONTRIBUTING.md
extension.json Move obvious Outline related CSS into own file 2022-07-07 22:05:09 +02:00
Gruntfile.js eslint: Lint all files except those in .eslintignore 2022-04-13 15:44:49 +01:00
jsduck.json
LICENSE.txt
package-lock.json build: Updating dependencies 2022-05-20 10:06:25 +00:00
package.json selenium: Run only one test in Jenkins daily job 2022-06-02 15:43:43 +02:00
Rakefile
README.md
VisualEditor.i18n.alias.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.

Terminology