User:Theopolisme/Scripts/ajaxWatchlist.js: Difference between revisions

Content deleted Content added
no longer used
load dependencies
Line 67:
mw.util.addCSS( '.watchlistLoadingIndicator { float: right; font-size: 12px; } ' );
// Run updateWatchlist() every 20 seconds by default (can be configured via window.watchlistUpdateFrequency)
mw.loader.using( [ 'jquery.spinner', 'mediawiki.notify' ], function () {
setInterval( updateWatchlist, window.watchlistUpdateFrequency || 20000 );
} );
}
}( jQuery, mediaWiki ) );