mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
95742d65f6
Drop "-down" class in favour of :active CSS pseudo-class. * http://kimblim.dk/css-tests/selectors/ * http://www.quirksmode.org/css/contents.html * http://caniuse.com/#search=css%202.1 Rename methods consistently to enableFoo and disableFoo. Use mw.notify instead of mw.util.jsMessage (the latter takes a string of html and parses it, instead of taking text). Also, jsMessage is obsolete (legacy wrapper around mw.notify). Rename slide-main to slide-save in preparation of other slides and introduction of multi-step save dialog. Re-introduce "disabled" state (not css, but actual state) so that pressing "Show changes" multiple times will not spawn multiple async operations. The save function guards against this by keeping a static property in the internal helper method, but there are still some operations happening between the button and that method this should be guarded in the UI instead. Follows-up I67819168. Change-Id: Idf0331377e6be814ccae853228d6159b4ad5a159 |
||
---|---|---|
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