Go to file
Ed Sanders 3a4822c2fe Section switch from wikitext to VE
Use an API 'parse' call with a sectionid to trigger
a full document expansion using replaceSectionAtRev.

Then send this off the RESTBase to convert to HTML
and statsh.

Ensure the etag is passed back to the API response.

Bug: T117716
Bug: T223023
Change-Id: I1b35b28e428a1f86d2e34d90ddbe73361ce14818
2019-05-13 19:49:10 +01:00
.jsduck Update VE core submodule to master (7cd15cfe9) 2019-04-22 12:39:14 +01:00
bin updateSubmodule: Put list in topo (merged), not written, order 2018-05-10 08:51:37 -07:00
build Replace the save button with a save tool 2019-04-30 19:32:33 +00:00
i18n Section switch from wikitext to VE 2019-05-13 19:49:10 +01:00
images Merge "Re-crush beta feature SVG screenshots" 2018-02-08 12:18:28 +00:00
includes Section switch from wikitext to VE 2019-05-13 19:49:10 +01:00
lib Update VE core submodule to master (7e10b410b) 2019-05-09 10:39:45 -07:00
maintenance Use ::class for class name resolution 2019-03-02 23:46:12 +01:00
modules Section switch from wikitext to VE 2019-05-13 19:49:10 +01:00
screenshots
.eslintrc.json eslint: Enable valid-jsdoc 2019-04-17 17:13:39 +01: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 .phpcs.xml: Drop unnecessary exclusions 2019-04-05 17:43:18 -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 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 .phpcs.xml: Drop unnecessary exclusions 2019-04-05 17:43:18 -07:00
CONTRIBUTING.md
extension.json ApiVisualEditor: Fix use of getBlockInfo() 2019-05-08 22:36:38 +02: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: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-06 13:33:16 -07:00
jsduck.json Update VE core submodule to master (8653ce4bd) 2019-04-04 15:26:12 -07:00
LICENSE.txt doc: Bump copyright year for 2019 2019-01-01 13:24:23 +00:00
package.json build: Upgrade eslint-config-wikimedia 0.12.0, drop grunt-jsonlint 2019-05-06 13:33:16 -07: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.