jenkins-bot has submitted this change and it was merged. Change subject: Remove pre-MW 1.22 compatability code ......................................................................
Remove pre-MW 1.22 compatability code Change-Id: Ia59464f4a9a5589d84e5028cdabb33aa95df4209 --- M modules/overlay/ext.echo.overlay.js 1 file changed, 1 insertion(+), 4 deletions(-) Approvals: Alex Monk: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/overlay/ext.echo.overlay.js b/modules/overlay/ext.echo.overlay.js index ccdac82..61c3e59 100644 --- a/modules/overlay/ext.echo.overlay.js +++ b/modules/overlay/ext.echo.overlay.js @@ -2,9 +2,6 @@ ( function ( $, mw ) { 'use strict'; - // backwards compatibility <= MW 1.21 - var getUrl = mw.util.getUrl || mw.util.wikiGetlink; - function EchoOverlay( apiResultNotifications ) { this.api = mw.echo.overlay.api; // set internal properties @@ -277,7 +274,7 @@ _getFooterElement: function () { var $prefLink = $( '#pt-preferences a' ), links = [ - { url: getUrl( 'Special:Notifications' ), text: mw.msg( 'echo-overlay-link' ), + { url: mw.util.getUrl( 'Special:Notifications' ), text: mw.msg( 'echo-overlay-link' ), className: 'mw-echo-icon-all' }, { url: $prefLink.attr( 'href' ) + '#mw-prefsection-echo', text: $prefLink.text(), className: 'mw-echo-icon-cog' } -- To view, visit https://gerrit.wikimedia.org/r/216599 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia59464f4a9a5589d84e5028cdabb33aa95df4209 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Echo Gerrit-Branch: master Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: Alex Monk <kren...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits