Go to file
Volker E fdf30c1793 Unify SVG markup
Align SVG markup across Foundation products by:
- unifying XML declaration,
- removing unnecessary `standalone="no"` attribute as it's default,
- removing all SVG editor metadata
- removing all `g` group elements except where necessary for transforms,
- putting attributes on `path`,
- removing unnecessary ids and
- unifying whitespace.

Saving up to 23% file size before gzipping.

Bug: T178867
Change-Id: If0339073a12f24df1a0f8dcc110c35e0ee2d38a7
2017-11-06 10:43:56 -08:00
.jsduck Update VE core submodule to master (7028f79aa) 2017-09-13 08:29:52 -07:00
bin bin/updateSubmodule.sh: Copy 'Bug:' lines from included changes 2017-09-13 18:14:41 +02:00
build build: Upgrade grunt-eslint from 19.0.0 to 20.0.0 2017-07-18 12:55:33 +01:00
lib Update VE core submodule to master (8d1c0d026) 2017-10-26 15:57:01 -07:00
modules Unify SVG markup 2017-11-06 10:43:56 -08:00
screenshots Add screenshots grunt task for taking documentation screenshots 2016-06-27 12:19:35 +01:00
.eslintrc.json mw.DesktopArticleTarget: Use require() for mw.page.watch 2017-05-24 21:17:02 +00:00
.gitignore Add .idea to .gitignore 2017-01-27 13:16:58 +01:00
.gitmodules Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
.gitreview .gitreview: swapping defaultbranch for track 2016-10-25 10:58:48 +02:00
.mailmap .mailmap: Add some extra addresses and change default for rmoen 2015-11-30 12:56:01 -08:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 14.1.0 2017-10-21 03:00:17 +00:00
.rubocop.yml [BrowserTest] Fix ve.init is undefined error messages in Selenium tests 2016-02-18 15:42:05 +01:00
.rubocop_todo.yml [BrowserTest] Fix ve.init is undefined error messages in Selenium tests 2016-02-18 15:42:05 +01:00
.stylelintrc.json Update VE core submodule to master (6111ca575) 2017-08-21 11:28:34 -07:00
ApiVisualEditor.php ArticleTarget: remember whether we preloaded, so it can affect the save button 2017-10-30 16:40:57 -05:00
ApiVisualEditorEdit.php ApiVisualEditorEdit: Make tryDeflate public and static 2017-09-14 14:48:18 -07: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: Enable MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment 2017-05-11 08:19:44 -07:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 14.1.0 2017-10-21 03:00:17 +00:00
CONTRIBUTING.md Update link to contributing guidelines 2017-08-21 18:22:35 -04:00
extension.json Use 'mediawiki.user' module, and never user.options/user.tokens 2017-11-01 15:36:34 +00:00
Gemfile Delete Ruby Selenium tests 2017-09-29 16:55:12 +02:00
Gemfile.lock Delete Ruby Selenium tests 2017-09-29 16:55:12 +02:00
Gruntfile.js Update VE core submodule to master (8d1c0d026) 2017-10-26 15:57:01 -07:00
jsduck.json Update VE core submodule to master (7a8829509) 2017-08-31 11:39:36 -07:00
LICENSE.txt build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
package.json build: Update stylelint 0.4.1->0.4.2 2017-10-26 21:04:07 +01:00
Rakefile Delete Ruby Selenium tests 2017-09-29 16:55:12 +02:00
README.md README: Add devDependencies badge 2014-09-16 13:39:31 -07:00
VisualEditor.hooks.php Move Beta Features screenshots into modules 2017-10-26 14:27:52 -07:00
VisualEditor.i18n.alias.php Setting aliases of some special page names for Urdu language 2017-10-13 16:53:28 +00:00
VisualEditor.php build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -08:00
VisualEditorDataModule.php VisualEditorDataModule: Do not expand templates in plain text messages 2017-08-23 20:08:36 +02:00
VisualEditorDesktopArticleTargetInitModule.php build: Bump file copyright notices for 2017 2017-01-03 08:58:33 -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.