diff --git a/VisualEditor.php b/VisualEditor.php index 7342bec76f..cc9ff37f42 100644 --- a/VisualEditor.php +++ b/VisualEditor.php @@ -192,6 +192,9 @@ $wgResourceModules += array( 've/init/mw/ve.init.mw.Platform.js', 've/init/mw/ve.init.mw.Target.js', ), + 'dependencies' => array( + 'jquery.client', + ), 'debugScripts' => array( 've/ve.debug.js', ), diff --git a/maintenance/makeStaticLoader.php b/maintenance/makeStaticLoader.php index 7778a08035..e959c254cf 100644 --- a/maintenance/makeStaticLoader.php +++ b/maintenance/makeStaticLoader.php @@ -42,6 +42,7 @@ class MakeStaticLoader extends Maintenance { $wgResourceModules['Dependencies'] = array( 'scripts' => array( 'jquery/jquery.js', + 'jquery/jquery.client.js', 'rangy/rangy-core.js', 'rangy/rangy-position.js', 'unicodejs/unicodejs.js',