mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
4511a9e6be
Apparently Parsoid has always required this, and we've never sent it, yet somehow the code in production works. This may well be the cause of some of the selser issues we saw after the deployment attempt in January. Made oldid a required parameter in the API module, and default it to 0. When we get 0, we translate that to the empty string for Parsoid's benefit. We also need to explicitly get wgCurRevisionId in ViewPageTarget, and that's also 0 on new pages. Change-Id: I3a55025246014cd74e15d6d5b6c4ede7b823e5df |
||
---|---|---|
.docs | ||
demos | ||
maintenance | ||
modules | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
ApiVisualEditor.php | ||
AUTHORS.txt | ||
CODING.md | ||
LICENSE.txt | ||
README.txt | ||
VisualEditor.hooks.php | ||
VisualEditor.i18n.php | ||
VisualEditor.php | ||
VisualEditorMessagesModule.php |
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 wiki: * http://www.mediawiki.org/wiki/VisualEditor * http://www.mediawiki.org/wiki/Parsoid