X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fjquery%2Fjquery.confirmable.mediawiki.js;h=aa1e90e14c06f4bd6977f405966e1949ba2e2851;hb=39836fea2b2875f895d126c8c1db99815792e0f8;hp=daf23a99c01c8a25fb4873d6dab4f8c0e9c87b4e;hpb=b7ec2c9b3353b99fe30e1e202c8625cac2f541f3;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/jquery/jquery.confirmable.mediawiki.js b/resources/src/jquery/jquery.confirmable.mediawiki.js index daf23a99c0..aa1e90e14c 100644 --- a/resources/src/jquery/jquery.confirmable.mediawiki.js +++ b/resources/src/jquery/jquery.confirmable.mediawiki.js @@ -4,7 +4,7 @@ * This file serves to inject our localised messages into it. */ -( function ( mw, $ ) { +( function () { $.fn.confirmable.defaultOptions.i18n = { space: mw.message( 'word-separator' ).text(), confirm: mw.message( 'confirmable-confirm', mw.user ).text(), @@ -13,4 +13,4 @@ yesTitle: undefined, noTitle: undefined }; -}( mediaWiki, jQuery ) ); +}() );