mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 16:20:52 +00:00
4c98f753a0
* Don't add ext.visualEditor.base to it, and strip of ve-mw stuff ** .base doesn't contain ve-mw stuff any more, so no stripping needed ** Instead of appending .base, just load .base and create a separate fake module for Standalone init. * Don't manually register .sa files ** Instead use ext.visualEditor.standalone, it's right there. ** Add missing CSS file to .standalone. * Documented the purpose of 'Dependencies' and removed scripts from that fake module that don't fall under that rationale and instead add them as regular modules (rangy, unicodejs). * Removed weird 'jquery' dependency in 'ext.visualEditor.core' module. This is strongly recommended against, and might actually cause jQuery to be reloaded due to outstanding bugs in core with the state machine in the startup queue (jquery, mediawiki). * Unlist unused 'jquery.client' dependency in makeStaticLoader. As per the module definitions in VisualEditor.php, this is only used by the .mediawiki module. Grepped modules/ve/ and found 0 uses. * Update dependency order to roughly match the dependency tree as it is specified in ResourceLoader (e.g. rangy is for .core, not .base). * Keep fake modules out of ResourceLoader. Change-Id: I2a31543e5ad2fc39f5980fea855172108eda4428 |
||
---|---|---|
.. | ||
pages | ||
demo.css | ||
eventLogger.html | ||
eventSequencer.html | ||
index.php |