mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 17:18:41 +00:00
1984c3ca46
Added wgIsArticle to isViewPage checks, otherwise we were attempting to load VE dynamically on Special:Move/Delete, which resulted in a broken h1 title and odd behavior off the 'Read' tab. Also added !wgIsArticle to pageExists. This is a bit of a hack because we don't have any info on page existence in the JS on these pages (I think?). But it's better to display 'Edit' for a page that doesn't exist, than 'Create' for a page that does. Bug: 49000 Change-Id: Ib47e5524d41e6066b362e0f5645750c769de5193 |
||
---|---|---|
.docs | ||
demos | ||
maintenance | ||
modules | ||
.csslintrc | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
ApiVisualEditor.php | ||
ApiVisualEditorEdit.php | ||
AUTHORS.txt | ||
CODING.md | ||
Gruntfile.js | ||
LICENSE.txt | ||
package.json | ||
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