Go to file
Thiemo Kreuz cb685d1216 Fix enter sometimes focusing the wrong template part
The behavior of the enter key in the new template dialog sidebar
is somewhat inconsistent. When pressing enter on the name of a
template it sometimes just doesn't work, but focuses something
else.

I realized this is because the message "The … template doesn't
yet exist." does not have a link. There is nothing to focus in
this element. The code just gives up and the selection returns
to whatever was selected before.

It works when there is a link in the template header. But this
is not even that useful.

Let's try to always focus the first parameter instead. The user
can still press Shift + Tab to focus the link to the template
page.

Bug: T289043
Change-Id: Id314ee8ebf47d387df08c7fb432094b6d8f7a3d2
2021-09-14 18:14:05 +02:00
.jsduck More complete top-level part selection support in new sidebar 2021-08-27 19:16:00 +02:00
.phan
bin
build Support watchlist expiry 2021-06-08 20:14:45 +00:00
i18n Localisation updates from https://translatewiki.net. 2021-09-14 08:33:27 +02:00
images Manually optimize BetaFeatures .svg files 2021-09-02 11:38:14 +02:00
includes Merge "Simplify some API PHP code where possible" 2021-09-07 14:54:05 +00:00
lib Update VE core submodule to master (f89945db3) 2021-09-13 09:25:59 -07:00
maintenance Avoid using User::setOption() 2021-03-30 21:47:04 +00:00
modules Fix enter sometimes focusing the wrong template part 2021-09-14 18:14:05 +02:00
screenshots
tests/phpunit Add a first PHPUnit test for SpecialCollabPad 2021-08-26 12:09:59 +02:00
.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 build: Updating dependencies 2021-09-02 03:43:02 +00:00
AUTHORS.txt
composer.json build: Updating mediawiki/mediawiki-phan-config to 0.11.0 2021-09-05 00:16:17 +00:00
CONTRIBUTING.md
extension.json Add tests for ve.ui.MWParameterPage class 2021-09-11 17:39:17 +00:00
Gruntfile.js
jsduck.json Update all tests in the ve-mw module to use ES6 syntax 2021-04-30 08:07:54 +00:00
LICENSE.txt
package-lock.json build: Updating dependencies 2021-09-02 03:43:02 +00:00
package.json build: Updating dependencies 2021-09-02 03:43:02 +00:00
Rakefile
README.md Add newline to README.md to fx render issue 2021-09-03 14:54:50 +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