From 532819b5a0dca69409c4696dae3d18cbf6029389 Mon Sep 17 00:00:00 2001 From: Mark Holmquist Date: Wed, 25 Jun 2014 09:47:46 -0500 Subject: [PATCH] Remove next/prev tooltips Change-Id: I978914bd57d7fdc260dbc0422915e6b766c35a66 --- MultimediaViewer.php | 2 -- i18n/en.json | 2 -- i18n/qqq.json | 2 -- resources/mmv/ui/mmv.ui.canvasButtons.js | 10 ---------- 4 files changed, 16 deletions(-) diff --git a/MultimediaViewer.php b/MultimediaViewer.php index ee45dde24..0c11c68bf 100644 --- a/MultimediaViewer.php +++ b/MultimediaViewer.php @@ -549,8 +549,6 @@ $wgResourceModules += array( 'multimediaviewer-source-popup-text', 'multimediaviewer-panel-open-popup-text', 'multimediaviewer-panel-close-popup-text', - 'multimediaviewer-next-image-popup-text', - 'multimediaviewer-prev-image-popup-text', ), ), diff --git a/i18n/en.json b/i18n/en.json index cba4af5b8..dbd3f70e5 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -104,8 +104,6 @@ "multimediaviewer-close-popup-text": "Close this tool (Esc)", "multimediaviewer-fullscreen-popup-text": "Show in full screen", "multimediaviewer-defullscreen-popup-text": "Exit full screen", - "multimediaviewer-next-image-popup-text": "Show next image", - "multimediaviewer-prev-image-popup-text": "Show previous image", "multimediaviewer-title-popup-text": "File name", "multimediaviewer-author-popup-text": "Author", "multimediaviewer-source-popup-text": "Source", diff --git a/i18n/qqq.json b/i18n/qqq.json index 28470adef..f8ae61788 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -110,8 +110,6 @@ "multimediaviewer-close-popup-text": "Tooltip for the button that closes the media viewer. \"Esc\" is the label of the keyboard key usually called \"[[:w:Esc key|Escape]]\".", "multimediaviewer-fullscreen-popup-text": "Tooltip for a button that puts the viewer into full screen.", "multimediaviewer-defullscreen-popup-text": "Tooltip for a button that exits fullscreen mode.", - "multimediaviewer-next-image-popup-text": "Tooltip for a button that navigates to the next image in a collection.\n\nSee also:\n* {{msg-mw|Multimediaviewer-prev-image-popup-text}}", - "multimediaviewer-prev-image-popup-text": "Tooltip for a button that navigates to the previous image in a collection.\n\nSee also:\n* {{msg-mw|Multimediaviewer-next-image-popup-text}}", "multimediaviewer-title-popup-text": "Tooltip that identifies the title of a file in the media viewer.\n{{Identical|Filename}}", "multimediaviewer-author-popup-text": "Tooltip that identifies the author of a file in the media viewer.\n{{Identical|Author}}", "multimediaviewer-source-popup-text": "Tooltip that identifies the source of a file in the media viewer.\n{{Identical|Source}}", diff --git a/resources/mmv/ui/mmv.ui.canvasButtons.js b/resources/mmv/ui/mmv.ui.canvasButtons.js index 8750fd7d5..f2b87000b 100644 --- a/resources/mmv/ui/mmv.ui.canvasButtons.js +++ b/resources/mmv/ui/mmv.ui.canvasButtons.js @@ -51,20 +51,10 @@ } ); this.$next = $( '
' ) - .prop( 'title', mw.message( 'multimediaviewer-next-image-popup-text' ).text() ) - .tipsy( { - delayIn: tooltipDelay, - gravity: this.isRTL() ? 'w' : 'e' - } ) .addClass( 'mw-mmv-next-image disabled' ) .html( ' ' ); this.$prev = $( '
' ) - .prop( 'title', mw.message( 'multimediaviewer-prev-image-popup-text' ).text() ) - .tipsy( { - delayIn: tooltipDelay, - gravity: this.isRTL() ? 'e' : 'w' - } ) .addClass( 'mw-mmv-prev-image disabled' ) .html( ' ' );