X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=resources%2Fsrc%2Fmediawiki.page.patrol.ajax.js;h=27d9e55684b8a4b4592e046d4ec3e47c54fef5c0;hb=1a62e51a00321eb6674e27cdff57c683703a5579;hp=d8fb249dc69ec207e376223ab2a22a66db0523c4;hpb=339adab63a1e6016446743f2003d42fbfc1fbace;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.page.patrol.ajax.js b/resources/src/mediawiki.page.patrol.ajax.js index d8fb249dc6..27d9e55684 100644 --- a/resources/src/mediawiki.page.patrol.ajax.js +++ b/resources/src/mediawiki.page.patrol.ajax.js @@ -5,7 +5,7 @@ * @since 1.21 * @author Marius Hoch */ -( function ( mw, $ ) { +( function () { if ( !mw.user.tokens.exists( 'patrolToken' ) ) { // Current user has no patrol right, or an old cached version of user.tokens // that didn't have patrolToken yet. @@ -61,4 +61,4 @@ e.preventDefault(); } ); } ); -}( mediaWiki, jQuery ) ); +}() );