Go to file
Bartosz Dziewoński 4efc2f876d VisualEditorDataModule: Remove origin restriction
"ORIGIN_USER_SITEWIDE" indicates "sitewide module generated from
user-editable files, like MediaWiki:Common.js". In this case the
JavaScript generated by this module is not directly editably by wiki
users. It includes localisation messages editable by users, but that
is considered safe because we correctly escape them when including
them in the JavaScript code.

Without this change, VisualEditor would no longer load in safe mode
(T185303) because this module would be missing.

Bug: T185303
Change-Id: I6d097ccbf1dc2462843219adcf96bf8313e30289
2018-04-30 21:58:18 +02:00
.jsduck Update VE core submodule to master (9c0b07868) 2018-04-11 12:44:27 -07:00
bin bin/updateSubmodule.sh: Copy 'Bug:' lines from included changes 2017-09-13 18:14:41 +02:00
build Merge "Catch timeout errors in screenshot scripts" 2018-01-13 11:09:25 +00:00
i18n Localisation updates from https://translatewiki.net. 2018-04-29 22:31:23 +02:00
images Merge "Re-crush beta feature SVG screenshots" 2018-02-08 12:18:28 +00:00
includes VisualEditorDataModule: Remove origin restriction 2018-04-30 21:58:18 +02:00
lib Update VE core submodule to master (099902ddb) 2018-04-30 09:08:18 -07:00
maintenance doc: Document all public and protected PHP functions 2018-03-28 12:50:44 -07:00
modules Convert most uses of isForClipboard to doesModeNeedRendering 2018-04-30 16:10:27 +00: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 Update AUTHORS.txt for the last couple of years' work 2018-01-03 11:51:37 -08:00
.phpcs.xml doc: Document all public and protected PHP functions 2018-03-28 12:50:44 -07:00
.rubocop.yml build: Bump Ruby cruft to avoid security warnings for old rubocop 2017-11-28 12:09:20 -08:00
.rubocop_todo.yml build: Bump Ruby cruft to avoid security warnings for old rubocop 2017-11-28 12:09:20 -08:00
.stylelintrc.json Update VE core submodule to master (6111ca575) 2017-08-21 11:28:34 -07:00
AUTHORS.txt Update AUTHORS.txt for the last couple of years' work 2018-01-03 11:51:37 -08:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 18.0.0 2018-04-13 19:08:03 +00:00
CONTRIBUTING.md Update link to contributing guidelines 2017-08-21 18:22:35 -04:00
extension.json Get rid of mwdiffing module 2018-04-27 21:09:07 +01:00
Gemfile build: Use commons_upload v1.2.1 Ruby gem for language screenshots 2018-03-15 17:32:47 +01:00
Gemfile.lock build: Use commons_upload v1.2.1 Ruby gem for language screenshots 2018-03-15 17:32:47 +01:00
Gruntfile.js build: Follow-up 99d3320573: Drop babel-polyfill, never used 2018-04-25 12:59:50 -07:00
jsduck.json Update VE core submodule to master (7a8829509) 2017-08-31 11:39:36 -07:00
LICENSE.txt doc: Bump copyright year 2018-01-03 17:45:07 +00:00
package.json build: Follow-up 99d3320573: Drop babel-polyfill, never used 2018-04-25 12:59:50 -07:00
Rakefile build: npm/rake entry point for screenshots upload 2018-03-07 23:23:30 +01:00
README.md README: Add devDependencies badge 2014-09-16 13:39:31 -07:00
VisualEditor.i18n.alias.php doc: Document all public and protected PHP functions 2018-03-28 12:50:44 -07:00
VisualEditor.php doc: Document all public and protected PHP functions 2018-03-28 12:50:44 -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.