mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-27 12:16:51 +00:00
2fb1a11a1a
Follows-up I99acbd1699: * "Parent method" comment * Remove redundant slice() call to convert arguments to array, native JavaScript methods that take array-like arguments such as Function#apply and Array#slice are both compatible with the Arguments objects, no need to convert it. Most invocations already did this right but a few were recently introduced again. * Removed silly "Document dialog." descriptions. * Removed a few redundant "@method" tags in the near vicinity of code I changed. * Fixed function invocation to be either on one line or one parameter per line. Having all arguments on one line but the name + "(" looks confusing as it suggest there is only 1 parameter. Same as object literals: so: { foo: 1, bar } or: { foo: 1, bar: 2, } not: { foo: 1, bar: 2 } Change-Id: I379bc2b32603bcf90aba9b4cd0112e7f027d070e |
||
---|---|---|
.docs | ||
demos | ||
maintenance | ||
modules | ||
.csslintrc | ||
.gitignore | ||
.gitreview | ||
.jshintignore | ||
.jshintrc | ||
ApiVisualEditor.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