diff --git a/extension.json b/extension.json index 477aa30e8..a38055265 100644 --- a/extension.json +++ b/extension.json @@ -103,7 +103,6 @@ "oojs", "jquery.fullscreen", "jquery.color", - "jquery.tipsy", "mmv.bootstrap", "mmv.head" ], @@ -275,7 +274,6 @@ "mmv.ui.reuse.shareembed/mmv.ui.reuse.embed.less" ], "dependencies": [ - "jquery.tipsy", "oojs", "oojs-ui", "mediawiki.user", diff --git a/includes/Hooks.php b/includes/Hooks.php index 68483c049..fd453e1d4 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -173,7 +173,6 @@ class Hooks implements MakeGlobalVariablesScriptHook { 'useThumbnailGuessing' => (bool)$wgMediaViewerUseThumbnailGuessing, 'imageQueryParameter' => $wgMediaViewerImageQueryParameter, 'recordVirtualViewBeaconURI' => $wgMediaViewerRecordVirtualViewBeaconURI, - 'tooltipDelay' => 1000, 'extensions' => $wgMediaViewerExtensions, ]; $vars['wgMediaViewer'] = true; diff --git a/resources/mmv/mmv.lightboxinterface.js b/resources/mmv/mmv.lightboxinterface.js index c88ea79c8..b0d634e65 100644 --- a/resources/mmv/mmv.lightboxinterface.js +++ b/resources/mmv/mmv.lightboxinterface.js @@ -312,17 +312,12 @@ * Setup for canvas navigation buttons */ LIP.setupCanvasButtons = function () { - var ui = this, - tooltipDelay = mw.config.get( 'wgMultimediaViewer' ).tooltipDelay; + var ui = this; this.$closeButton = $( '