Go to file
Roan Kattouw a0167c08c7 Clean up LookupInputWidget subclasses and use new functionality
MWCategoryInputWidget:
* Use @inheritdoc
* Don't modify data parameter in getLookupCacheItemFromData()

MWLinkTargetInputWidget:
* Remove this.choosing in favor of setLookupsDisabled()
* Explicitly close menu on choose
* Remove manual emission of change events
** This looks ridiculous, it doesn't seem to be necessary,
   and it causes infinite event loops. But I'm very curious
   why this was added in the first place.
* Remove onLookupInputChange override that is now unnecessary
* Use {} rather than [] for fake empty result
* Prevent programmatic focus from opening the menu

MWTitleInputWidget:
* On choose, close menu and disable lookups while changing value
* Use @inheritdoc
* Remove mentions of "template" from getTitle() documentation

Bug fixed:
* When choosing a suggestion in MWTitleInputWidget,
  new suggestions would be loaded and the menu would reopen

Depends on Iecae9b582 in oojs-ui.

Change-Id: I716f99bb464a5cebd4f17701197f768e4e0e02a9
2014-11-03 10:39:03 -08:00
.docs Update VE core submodule to master (f4ff1d6) 2014-10-29 11:52:09 -07: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 (b7b56dd) 2014-10-31 11:22:45 -07:00
modules Clean up LookupInputWidget subclasses and use new functionality 2014-11-03 10:39:03 -08:00
.csslintrc
.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] Prepare repository for running RuboCop after every push to Gerrit 2014-10-21 17:35:04 +02:00
.rubocop_todo.yml [BrowserTest] Prepare repository for running RuboCop after every push to Gerrit 2014-10-21 17:35:04 +02:00
ApiVisualEditor.php Add i18n for API module help 2014-10-29 13:59:41 -07:00
ApiVisualEditorEdit.php Update "page was last modified on date, at time" footer line when saving 2014-10-31 01:00:04 +00:00
AUTHORS.txt Merge "Add Sucheta to authors list" 2014-10-08 14:49:55 +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
Gemfile [BrowserTest] Prepare repository for running RuboCop after every push to Gerrit 2014-10-21 17:35:04 +02:00
Gemfile.lock [BrowserTest] Prepare repository for running RuboCop after every push to Gerrit 2014-10-21 17:35:04 +02:00
Gruntfile.js build: Remove stray '*' before '/**' in csslint file pattern 2014-10-11 03:21:21 +02:00
LICENSE.txt Fix more copyright headers not updated to 2014 2014-01-13 15:08:24 +00:00
package.json build: Remove 'repository' and 'licenses' key from package.json 2014-10-11 02:59:33 +02:00
README.md README: Add devDependencies badge 2014-09-16 13:39:31 -07:00
VisualEditor.hooks.php Update VE core submodule to master (0dd43dc) 2014-10-14 10:57:53 -07:00
VisualEditor.php Update "page was last modified on date, at time" footer line when saving 2014-10-31 01:00:04 +00:00
VisualEditorDataModule.php Use Config instead of globals 2014-08-15 15:50:26 -07:00
VisualEditorViewPageTargetInitModule.php Fix copyright notice in VisualEditorViewPageTargetInitModule.php header 2014-09-10 12:07:56 -07: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.