Go to file
Brad Jorsch 6dd98b5f3b Update token handling for MediaWiki API change
MediaWiki change I2793a3f2 changes API handling in a way that needs
updates to extensions for proper operation:
* needsToken() now returns a string
* Most custom token types are being replaced with a 'csrf' token (the
  former 'edit' token); any others need a new hook.
* All tokens must use a static salt. Compat with web UI using non-static
  tokens is supported and also serves to handle the now-deprecated token
  fetching.
* Documentation in getParamDescription() should return a string (not
  array) for 'token', as the signal to core that it should be replaced
  with a standardized message.

When compatibility with earlier versions of MediaWiki is no longer
maintained, the entry for 'token' from getAllowedParams() and
getParamDescription() may be removed, as may getTokenSalt(). This patch
leaves them in place.

Note this is intended to be compatible with earlier versions of
MediaWiki, and so should be safe to merge before the core change.

Change-Id: Ia6e512aae366996de4e73a8d7f4f03fcddd77286
2014-08-13 16:19:42 +00:00
.docs Update VE core submodule to master (f443f90) 2014-08-12 14:57:47 -07:00
bin Provide a script to automatically list recent commits for pre-deployment review 2014-06-12 12:29:18 -07:00
build/tasks Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
lib Update VE core submodule to master (f443f90) 2014-08-12 14:57:47 -07:00
modules Merge "[BrowserTest] Language screenshot job should run specific scenarios" 2014-08-13 15:08:28 +00:00
.csslintrc
.gitignore Implement Grunt support (grunt jshint,csslint,qunit,watch) 2013-06-05 11:10:23 +00:00
.gitmodules Use submodule for VisualEditor core 2013-12-20 09:18:41 +00:00
.gitreview
.jscsrc build: Update jscs and use new "wikimedia" preset 2014-06-26 17:00:15 +00:00
.jshintignore Move libraries to the lib/ directory 2013-12-19 23:02:52 +01:00
.jshintrc test: Move mw into the global list of globals for VE-MW 2014-07-19 17:42:45 +00:00
ApiVisualEditor.php Give a notice if the user isn't allowed to create the page 2014-07-19 15:38:36 +01:00
ApiVisualEditorEdit.php Update token handling for MediaWiki API change 2014-08-13 16:19:42 +00:00
AUTHORS.txt Add more authors from git shortlog -s -n 2014-06-12 14:58:28 -07:00
betafeatures-icon-VisualEditor-language-ltr.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
betafeatures-icon-VisualEditor-language-rtl.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
betafeatures-icon-VisualEditor-ltr.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
betafeatures-icon-VisualEditor-rtl.svg Run node-svgo to crush all SVGs whilst retaining readibility 2014-07-01 16:58:05 -07:00
CONTRIBUTING.md Fix dead links in README.md and CONTRIBUTING.md 2014-03-10 18:26:30 +01:00
Gruntfile.js build: Update grunt-jscs (formerly grunt-jscs-checker) from 0.6.0 to 0.6.1 2014-07-18 13:21:27 -07:00
LICENSE.txt Fix more copyright headers not updated to 2014 2014-01-13 15:08:24 +00:00
package.json build: Update grunt-jscs (formerly grunt-jscs-checker) from 0.6.0 to 0.6.1 2014-07-18 13:21:27 -07:00
README.md Fix dead links in README.md and CONTRIBUTING.md 2014-03-10 18:26:30 +01:00
VisualEditor.hooks.php Update VE core submodule to master (426f9e4) 2014-07-23 01:23:02 +00:00
VisualEditor.i18n.php Adding a comment explaining where the i18n messages are 2014-03-12 17:41:42 -07:00
VisualEditor.php Kill off two references to there being a Cancel button 2014-08-06 11:11:12 +01:00
VisualEditorDataModule.php Remove old message 2014-07-28 14:23:50 +01:00

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.