mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
4e407bd59e
Logic taken from EditPage::getCopyrightWarning, but couldn't use it directly because it doesn't give the message keys and wraps the html. Using the same logic and running the same hook, we'll get the same message keys (and message parameters therefore) as EditPage would. Also fixed these bugs (as they were more prominent now): * Use Message::parse() instead of Message::plain() * Set inLanguage properly instead of using the default (EditPage is user-localised, including this message, just like the rest of VE). Fixes bug 42764: minoredit/watchthis should be in user-language. Change-Id: I84fee641162cdeed290092e56fb0e1d2562d833d |
||
---|---|---|
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