Go to file
Thiemo Kreuz 301c84bda4 Call focusPart() only once in MWTemplateDialog.onReplacePart()
This merges all code-paths that re-select a part (i.e. an input
widget on the right side of the template dialog).

Note there is an edge-case that actually changes with this
patch. When a page is removed, and creating a new page fails,
there is an `if ( page )` check. Before, the behavior was that
nothing gets selected in this case. After this change the
behavior is the same as if a page was removed: the closest one
gets selected. Not only does this make more sense. The `if` is
only a fail-safe anyway and should not result in different
behavior.

Bug: T288827
Change-Id: Ibb0260587588fb51a876658b16a81c5a73371dc4
2021-08-20 09:49:30 +02:00
.jsduck Rename OutlineParameterCheckboxWidget to OutlineParameterCheckboxLayout 2021-06-21 09:08:54 +02:00
.phan
bin
build Support watchlist expiry 2021-06-08 20:14:45 +00:00
i18n Localisation updates from https://translatewiki.net. 2021-08-20 08:24:42 +02:00
images
includes Introduce VisualEditorApiVisualEditorPreSaveHook 2021-08-18 09:39:00 +02:00
lib Update VE core submodule to master (4c2a0ea13) 2021-08-19 23:28:18 +02:00
maintenance
modules Call focusPart() only once in MWTemplateDialog.onReplacePart() 2021-08-20 09:49:30 +02:00
screenshots
.eslintrc.json build: Remove max-len over-ride (leave as warning) 2021-06-28 11:30:06 +01:00
.gitignore
.gitmodules
.gitreview
.mailmap
.phpcs.xml Fix a series of minor style issues in PHP code 2021-06-03 15:55:38 +02:00
.stylelintrc.json Make template parameter checkbox widget an OptionWidget 2021-08-18 11:11:41 +02:00
AUTHORS.txt
composer.json build: Updating dependencies 2021-07-21 19:56:36 +00:00
CONTRIBUTING.md
extension.json Use the "wikitext" for content in transclusions 2021-08-17 13:06:49 +02:00
Gruntfile.js
jsduck.json
LICENSE.txt
package-lock.json build: Updating dependencies 2021-07-21 19:56:36 +00:00
package.json
Rakefile
README.md Add terminology section to README 2021-06-21 12:39:26 +02:00
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