Go to file
Bartosz Dziewoński 362df66b47 Remove support for page title "hrefPrefix" other than './'
Parsoid does not use relative links anywhere anymore (T72743). There
is no reason for us to support this. And previous code allowed
"hrefPrefix" to be empty '' sometimes, which is scary, as it could
lead to XSS vulnerabilities if titles starting with 'JavaScript:' are
not handled correctly elsewhere.

Bug: T206357
Depends-On: I8728f63084902c76d1c61193be4367939b069f1a
Change-Id: I99be18877aae2b505cf261bd7cdef6cf0d7a8670
2019-04-03 20:10:05 +00:00
.jsduck ve.init.mw.MobileArticleTarget: Merge in downstream code from MobileFrontend 2019-03-22 18:30:05 +00:00
bin updateSubmodule: Put list in topo (merged), not written, order 2018-05-10 08:51:37 -07:00
build build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 20:23:43 +00:00
i18n Localisation updates from https://translatewiki.net. 2019-04-01 22:41:30 +02:00
images Merge "Re-crush beta feature SVG screenshots" 2018-02-08 12:18:28 +00:00
includes Avoid keeping excess keys from storeInSerializationCache() in cache 2019-04-03 18:34:07 +00:00
lib Update VE core submodule to master (5c8fd26b8) 2019-04-03 19:59:31 +02:00
maintenance Use ::class for class name resolution 2019-03-02 23:46:12 +01:00
modules Remove support for page title "hrefPrefix" other than './' 2019-04-03 20:10:05 +00:00
screenshots Add screenshots grunt task for taking documentation screenshots 2016-06-27 12:19:35 +01:00
.eslintrc.json build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 20:23:43 +00:00
.gitignore eslint: Enable caching 2019-02-19 18:53:11 +00:00
.gitmodules .gitmodules: Update gerrit URI syntax, deprecated ages ago, now unsupported 2019-03-19 16:49:03 +00:00
.gitreview
.mailmap Update AUTHORS.txt for the last couple of years' work 2018-01-03 11:51:37 -08:00
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-06 18:33:13 +00: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 stylelint: Enforce class name pattern 2019-01-13 15:14:53 +00:00
AUTHORS.txt Remove EasyDeflate libs, upstreamed to core 2018-07-26 18:18:52 +00:00
composer.json build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-06 18:33:13 +00:00
CONTRIBUTING.md Update link to contributing guidelines 2017-08-21 18:22:35 -04:00
extension.json Avoid keeping excess keys from storeInSerializationCache() in cache 2019-04-03 18:34:07 +00: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 eslint: Enable caching 2019-02-19 18:53:11 +00:00
jsduck.json Update VE core submodule to master (4398bb868) 2019-01-11 08:16:28 -08:00
LICENSE.txt doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
package.json build: Update eslint-config-wikimedia to 0.11.0 2019-02-20 20:23:43 +00:00
Rakefile build: npm/rake entry point for screenshots upload 2018-03-07 23:23:30 +01:00
README.md
VisualEditor.i18n.alias.php doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
VisualEditor.php doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00: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.