Go to file
Roan Kattouw 3f15c5be5d MWMediaDialog: Focus the right thing on ready, depending on the panel shown
The ready handler unconditionally focused the surface, even if
a different panel was shown. Prior to aa9eb9545 this didn't
actually break the search mode, because the search input was
focused after the image repo information came back, which
usually happened after ready. However, aa9eb9545 instead focused
the search input from the setup process, which is too early.

Also introduce this.currentPanel as a way to track
which panel is currently visible.

Bug: T88881
Change-Id: I0189fbeed73ee9103e45fec4a1bc8d4ee1b6ed40
2015-02-06 18:12:06 -08:00
.docs Refactor MWMediaSearchWidget to use a queue and providers 2015-02-06 16:45:56 -08:00
bin Provide a script to automatically list recent commits for pre-deployment review 2014-06-12 12:29:18 -07:00
build/tasks Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
lib Update VE core submodule to master (55e3589) 2015-02-05 00:35:05 +00:00
modules MWMediaDialog: Focus the right thing on ready, depending on the panel shown 2015-02-06 18:12:06 -08:00
.csslintrc Transform the search widget to show image details 2015-01-16 13:22:54 +00:00
.gitignore
.gitmodules Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
.gitreview
.jscsrc Switch 'disallowQuotedKeysInObjects' jscs rule on and fix up 2014-08-22 13:50:48 -07:00
.jshintignore
.jshintrc test: Move mw into the global list of globals for VE-MW 2014-07-19 17:42:45 +00:00
.rubocop.yml [BrowserTest] RuboCop should not complain about number of lines in a method 2014-11-21 16:57:27 +00:00
.rubocop_todo.yml test: Rebuild .rubocop_todo.yml 2015-02-03 11:43:02 -08:00
ApiVisualEditor.php Merge "Make API module's LinkCache data transmission format more efficient" 2015-02-04 01:18:21 +00:00
ApiVisualEditorEdit.php build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
AUTHORS.txt AUTHORS.txt: Credit libraries as well as direct contributors 2014-11-13 16:45:03 +00:00
betafeatures-icon-VisualEditor-language-ltr.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
betafeatures-icon-VisualEditor-language-rtl.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
betafeatures-icon-VisualEditor-ltr.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
betafeatures-icon-VisualEditor-rtl.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
CONTRIBUTING.md Fix dead links in README.md and CONTRIBUTING.md 2014-03-10 18:26:30 +01:00
extension.json Refactor MWMediaSearchWidget to use a queue and providers 2015-02-06 16:45:56 -08:00
Gemfile [BrowserTest] Updating test for Media Settings interface 2015-01-30 18:11:33 -08:00
Gemfile.lock [BrowserTest] Updating test for Media Settings interface 2015-01-30 18:11:33 -08:00
Gruntfile.js build: Remove stray '*' before '/**' in csslint file pattern 2014-10-11 03:21:21 +02:00
LICENSE.txt build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
package.json build: Bump devDependencies to latest 2015-02-02 14:30:39 -08:00
README.md README: Add devDependencies badge 2014-09-16 13:39:31 -07:00
VisualEditor.hooks.php Add extension.json 2015-02-02 16:31:00 -08:00
VisualEditor.php Refactor MWMediaSearchWidget to use a queue and providers 2015-02-06 16:45:56 -08:00
VisualEditorDataModule.php build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
VisualEditorViewPageTargetInitModule.php build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00

devDependency Status

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.