User:ArnabSaha/common.js

importScript('User:SD0001/DYK-helper.js'); // Backlink: User:SD0001/DYK-helper.js importScript('User:Enterprisey/reply-link.js'); // Backlink: User:Enterprisey/reply-link.js importScript('User:Enterprisey/cv-revdel.js'); // Backlink: User:Enterprisey/cv-revdel.js importScript('User:Enterprisey/script-installer.js'); // Backlink: User:Enterprisey/script-installer.js importScript('User:Dr_pda/prosesize.js');               // User:Dr pda/prosesize importScript('User:BrandonXLF/Restorer.js'); // Backlink: User:BrandonXLF/Restorer.js mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Uziel302/typo.js&action=raw&ctype=text/javascript'); // User:Lenore/autolink importScript('User:Lenore/autolink.js'); mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" ); importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool importScript('User:Lupin/recent2.js'); /*** BEGIN WIKIBREAK ENFORCER ***/ $(document).ready(function { /*** Start editing here ***/ // When you want to end your break? // no leading zeroes. (example: 9 - correct, 09 - incorrect) var date = { year: 2020, month: 8, day: 25}; var time = { hours: 12, minutes: 22, seconds: 0 }; /*** Stop editing here ***/ var currentDate = new Date; var enforcedBreakEnd = new Date( date.year,date.month-1,date.day,time.hours,time.minutes,time.seconds); if (currentDate <= enforcedBreakEnd) { alert("Enforced wikibreak until "+enforcedBreakEnd.toLocaleString + "\n(now is "+currentDate.toLocaleString+")\n\nBye!"); mw.loader.using(["mediawiki.api", "mediawiki.user"]).then(function { new mw.Api.post( { action: 'logout', token: mw.user.tokens.get('csrfToken') }).done(function (data) { location = "//" + location.host + "/w/index.php?title=" + "Special:Userlogin&returnto=Main_Page"; }).fail(function  { console.log("logout failed") }); }); } }); /*** END WIKIBREAK ENFORCER ***/ importScript('User:BrandonXLF/GreenRedirects.js'); // Backlink: User:BrandonXLF/GreenRedirects.js importScript('User:GregU/dashes.js'); // Backlink: User:GregU/dashes.js importScript('User:Meteor sandwich yum/Tidy citations.js'); // Backlink: User:Meteor sandwich yum/Tidy citations.js importScript('User:AndyZ/peerreviewer.js'); // Backlink: User:AndyZ/peerreviewer.js importScript('User:Ohconfucius/script/MOSNUM dates.js'); // Backlink: User:Ohconfucius/script/MOSNUM dates.js importScript('User:Evad37/rater.js'); // User:Evad37/rater importScript('User:BrandonXLF/TodoList.js'); // Backlink: User:BrandonXLF/TodoList.js