X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.page.patrol.ajax.js;h=27d9e55684b8a4b4592e046d4ec3e47c54fef5c0;hp=d8fb249dc69ec207e376223ab2a22a66db0523c4;hb=fe94275c8fcfc248a5eae857dde7c5772d993ab5;hpb=15f6eff90c305d405fe4331c8a8dc8caa842e5b3 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 ) ); +}() );