User:Justarandomamerican/common.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary Tags: Reverted Mobile edit Mobile web edit |
Installing User:Kiteretsu/unblock-review.js (script-installer) Tag: Manual revert |
||
(36 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
importScript('User:MacFan4000/findInactiveSysops.js'); // Backlink: [[User:MacFan4000/findInactiveSysops.js]] |
importScript('User:MacFan4000/findInactiveSysops.js'); // Backlink: [[User:MacFan4000/findInactiveSysops.js]] |
||
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AJoeytje50%2FJWB.js%2Fload.js&action=raw&ctype=text/javascript'); |
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AJoeytje50%2FJWB.js%2Fload.js&action=raw&ctype=text/javascript'); |
||
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Timotheus_Canens/massblock.js&action=raw&ctype=text/javascript'); |
|||
//<nowiki> |
|||
importScript('User:DodoMan/abusefilter.js'); // Backlink: [[User:DodoMan/abusefilter.js]] |
|||
(function() { |
|||
importScript('User:Kiteretsu/confirmationRollback-mobile.js'); // Backlink: [[User:Kiteretsu/confirmationRollback-mobile.js]] |
|||
if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) { |
|||
importScript('User:Kiteretsu/unblock-review.js'); // Backlink: [[User:Kiteretsu/unblock-review.js]] |
|||
$(".mw-rollback-link").on('click', function(e) { |
|||
var linkText = $(e.target).text(), |
|||
count = linkText.match(/\d/) ? linkText.match(/\d+/)[0] : null, |
|||
message = 'Rollback ' + (count ? count + ' edits' : 'edit') + ' by ' + mw.util.getParamValue('from',e.target.href) + '?'; |
|||
if(!confirm(message)) return e.preventDefault(); |
|||
}); |
|||
} |
|||
}()); |
|||
//</nowiki> |
|||
//From enwiki, see the page history of https://en.m.wikipedia.org/wiki/MediaWiki:Gadget-confirmationRollback-mobile.js for attribution. CC-BY-SA-4 |
Latest revision as of 01:46, 20 October 2024
importScript('User:MacFan4000/findInactiveSysops.js'); // Backlink: [[User:MacFan4000/findInactiveSysops.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AJoeytje50%2FJWB.js%2Fload.js&action=raw&ctype=text/javascript');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Timotheus_Canens/massblock.js&action=raw&ctype=text/javascript');
importScript('User:DodoMan/abusefilter.js'); // Backlink: [[User:DodoMan/abusefilter.js]]
importScript('User:Kiteretsu/confirmationRollback-mobile.js'); // Backlink: [[User:Kiteretsu/confirmationRollback-mobile.js]]
importScript('User:Kiteretsu/unblock-review.js'); // Backlink: [[User:Kiteretsu/unblock-review.js]]