Go to file
Dan Duvall 96677fb74a [BrowserTest] Experimenting with JS object references
References to JS objects for VE elements can determined by referencing
the VE and OOUI API documentation[1][2] and interrogating the objects in
a browser console. Errors should be closer to what developers understand
but testers should pair with developers to better understand how to
define new page elements and where to go for documentation/help.

The VE entrypoint for the singleton reference is `ve.init.target` (if
there's only one instance of VE target; there may be multiple in some
cases like Flow).

[1] https://doc.wikimedia.org/VisualEditor/master/
[2] https://doc.wikimedia.org/oojs-ui/master/js/

Change-Id: I1f642807cdd3059d8e7e885a8b239ac01b9b3024
2016-01-06 17:07:35 -08:00
.jsduck Merge "Refactor MediaResources(Provider/Queue)" 2016-01-03 22:55:39 +00:00
bin Merge "Add a clean-up script for use as a pre-commit hook" 2015-09-14 00:33:31 +00:00
build Fix typos 2015-12-09 16:47:13 +00:00
lib Update VE core submodule to master (a509b1c) 2016-01-05 14:25:41 -08:00
modules [BrowserTest] Experimenting with JS object references 2016-01-06 17:07:35 -08:00
.csslintrc Transform the search widget to show image details 2015-01-16 13:22:54 +00:00
.gitignore Add a couple of patterns to .gitignore for emacs 2015-05-13 19:11:05 -04:00
.gitmodules
.gitreview
.jscsrc build: Enable jscs jsDoc rules 'require*Types' and make pass 2015-08-19 11:38:35 -07:00
.jshintignore
.jshintrc Make 'moment' a dependency of just 'mwimage', not all of VE-MW 2015-11-17 14:55:10 -08:00
.mailmap .mailmap: Add some extra addresses and change default for rmoen 2015-11-30 12:56:01 -08:00
.rubocop.yml
.rubocop_todo.yml [BrowserTest] Remove outdated offenses from .rubocop_todo.yml 2015-02-20 13:39:18 +02:00
ApiVisualEditor.php build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
ApiVisualEditorEdit.php build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
AUTHORS.txt AUTHORS.txt: Be more strict about 'principal' authors and update addresses 2015-11-30 12:56:02 -08:00
autodisablePref.php build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
betafeatures-icon-VisualEditor-ltr.svg Fix the beta feature image 2015-11-30 15:09:34 -08:00
betafeatures-icon-VisualEditor-rtl.svg Fix the beta feature image 2015-11-30 15:09:34 -08:00
composer.json build: Updating development dependencies 2016-01-05 10:43:09 -08:00
CONTRIBUTING.md Add a clean-up script for use as a pre-commit hook 2015-07-03 01:57:03 +00:00
extension.json Merge "Refactor MediaResources(Provider/Queue)" 2016-01-03 22:55:39 +00:00
Gemfile [BrowserTest] Update mediawiki_selenium Ruby gem to the latest version 2015-12-30 11:46:23 +00:00
Gemfile.lock [BrowserTest] Experimenting with JS object references 2016-01-06 17:07:35 -08:00
Gruntfile.js build: Add grunt-tyops 2015-12-09 00:53:34 +00:00
jsduck.json build: Move pre/post 'doc' task into package.json 2015-04-06 17:18:29 +01:00
LICENSE.txt build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
package.json build: Update various devDependencies to latest 2015-12-11 12:59:17 -08:00
phpcs.xml build: Alter settings to force utf-8 and allow .php5/.inc extensions 2015-09-28 23:11:06 +00:00
Rakefile Added Rakefile 2015-11-10 10:24:39 +00:00
README.md
VisualEditor.hooks.php build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
VisualEditor.php build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
VisualEditorDataModule.php build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -08:00
VisualEditorDesktopArticleTargetInitModule.php build: Bump file copyright notices for 2016 2016-01-03 14:57:25 -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.