User:Patstuart/Flickrreview.js
Jump to navigation
Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
Documentation for this user script can be added at User:Patstuart/Flickrreview. |
importScript('User:Rillke/LicenseReview.js');
mw.loader.using('jquery.jStorage', function() {
var k = 'Patstuart-Flickrreview.js',
t = 'Information: You are importing User:Patstuart/Flickrreview.js' +
' into your common.js or <skin>.js!\n' +
'This script is unmaintained and User:Rillke/LicenseReview.js' +
'is loaded instead. Please update your JavaScript accordingly.',
x = $.jStorage.get( k );
if ( !x ) {
$.jStorage.set( k, 1 );
alert( t );
} else {
x++;
$.jStorage.set( k, x );
if ( x % 50 === 0 ) {
mw.notify( t );
}
}
});