Go to file
David Lynch b1aed096cb DesktopArticleTarget: Generate the original page title if needed
When switching from the old wikitext editor to VE, we stored "editing..." as
the original page title. Then restored that when saving / switching to "read".
Instead, detect if we're on top of the classic editor, and use the pagename
message to make a plausibly-correct title.

Bug: T126077
Change-Id: Ib0289de71c3ae947ca0a3e45fe1e620378689c35
2016-12-13 19:28:15 -06:00
.jsduck Update VE core submodule to master (327a277) 2016-12-06 11:24:55 -08:00
bin
build
lib Update VE core submodule to master (721f591) 2016-12-12 08:37:41 -08:00
modules DesktopArticleTarget: Generate the original page title if needed 2016-12-13 19:28:15 -06:00
screenshots
.eslintrc.json eslint: Re-enable wrap-iife and partially enable dot-notation 2016-11-12 14:43:43 +00:00
.gitignore
.gitmodules
.gitreview
.mailmap
.rubocop.yml
.rubocop_todo.yml
.stylelintrc
ApiVisualEditor.php Support section=new in NWE 2016-12-13 12:20:55 +00:00
ApiVisualEditorEdit.php Support section=new in NWE 2016-12-13 12:20:55 +00:00
AUTHORS.txt
autodisablePref.php
betafeatures-icon-VisualEditor-ltr.svg
betafeatures-icon-VisualEditor-rtl.svg
betafeatures-icon-WikitextEditor-ltr.svg
betafeatures-icon-WikitextEditor-rtl.svg
composer.json
CONTRIBUTING.md
extension.json DesktopArticleTarget: Generate the original page title if needed 2016-12-13 19:28:15 -06:00
Gemfile
Gemfile.lock
Gruntfile.js build: Change pathPrefix for eg-iframe back from '../lib' to 'lib' 2016-11-18 16:12:16 -08:00
jsduck.json Update VE core submodule to master (977d3ad) 2016-10-31 17:35:46 -04:00
LICENSE.txt
package.json build: Bump eslint-config-wikimedia to v0.3.0 and make pass 2016-11-15 15:05:05 -08:00
phpcs.xml
Rakefile
README.md
VisualEditor.hooks.php Move NWE URL changes into JS 2016-11-11 18:31:22 +00:00
VisualEditor.php
VisualEditorDataModule.php
VisualEditorDesktopArticleTargetInitModule.php

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.