Go to file
Bartosz Dziewoński b9835f75d3 Check if page is really editable and call #setReadOnly accordingly
There are various circumstances where the wgIsProbablyEditable check
gives incorrect results (hence the 'probably'):

* User is blocked (T111217)
* Page is protected from creation (T173763)
* Page is transcluded on a cascade-protected page (T217217)

Bug: T111217
Bug: T173763
Bug: T217217
Change-Id: I7df8909c31f29d2e7521bef8612c27cb61146a4d
2019-05-18 17:23:31 +02:00
.jsduck Update VE core submodule to master (7cd15cfe9) 2019-04-22 12:39:14 +01:00
bin
build Replace the save button with a save tool 2019-04-30 19:32:33 +00:00
i18n Localisation updates from https://translatewiki.net. 2019-05-16 09:10:43 +02:00
images
includes Check if page is really editable and call #setReadOnly accordingly 2019-05-18 17:23:31 +02:00
lib Update VE core submodule to master (334260638) 2019-05-17 14:40:20 +02:00
maintenance Use ::class for class name resolution 2019-03-02 23:46:12 +01:00
modules Check if page is really editable and call #setReadOnly accordingly 2019-05-18 17:23:31 +02: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
.phpcs.xml .phpcs.xml: Drop unnecessary exclusions 2019-04-05 17:43:18 -07:00
.rubocop.yml
.rubocop_todo.yml
.stylelintrc.json stylelint: Enforce class name pattern 2019-01-13 15:14:53 +00:00
AUTHORS.txt
composer.json .phpcs.xml: Drop unnecessary exclusions 2019-04-05 17:43:18 -07:00
CONTRIBUTING.md
extension.json Add missing translations from VE submodule 2019-05-13 11:07:11 -05:00
Gemfile
Gemfile.lock
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
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.