User:Pahunkat/common.js

mw.loader.load( '/w/index.php?title=User:RedWarn/.js&action=raw&ctype=text/javascript' ); // Backlink: User:RedWarn/.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: 2021, month: 7, day: 17}; var time = { hours: 6, minutes: 0, 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:Lupin/recent2.js'); importScript("User:Writ Keeper/Scripts/teahouseUtility.js"); // Gives one-click option to add Teahouse invitation or talkback to a user

importScript("User:Writ Keeper/Scripts/teahouseTalkback.js"); // Adds Talkback reminder when you save an edit at the Teahouse

importScript("User:Writ Keeper/Scripts/teahouseTalkbackLink.js"); // Adds a talkback link to signatures on the Teahouse

mw.loader.load('/w/index.php?title=User:BrandonXLF/Restorer.js&action=raw&ctype=text/javascript'); // User:BrandonXLF/Restorer.js

importScript("User:Ocaasi/WikiLoveinstallscript.js");// Adds Teahouse Badges to WikiLove importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool importScript( 'User:Evad37/MoveToDraft.js' ); // Backlink: User:Evad37/MoveToDraft mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" ); importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: User:Jackmcbarn/editProtectedHelper.js

importScript('User:Technical_13/Scripts/OneClickArchiver.js'); // Backlink: User:Technical_13/Scripts/OneClickArchiver.js importScript('User:DannyS712/EFFPRH.js'); // Backlink: User:DannyS712/EFFPRH.js importScript('User:Enterprisey/reply-link.js'); // Backlink: User:Enterprisey/reply-link.js importScript('User:Suffusion of Yellow/filter-highlighter.js'); // Backlink: User:Suffusion of Yellow/filter-highlighter.js importScript('User:Suffusion of Yellow/effp-helper.js'); // Backlink: User:Suffusion of Yellow/effp-helper.js importScript('User:Enterprisey/cv-revdel.js'); // Backlink: User:Enterprisey/cv-revdel.js importScript('User:Writ Keeper/Scripts/massRollback.js'); // Backlink: User:Writ Keeper/Scripts/massRollback.js importScript('User:Headbomb/unreliable.js'); // Backlink: User:Headbomb/unreliable.js importScript('User:Suffusion of Yellow/filterTest.js'); // Backlink: User:Suffusion of Yellow/filterTest.js importScript('User:Bradv/Scripts/Notepad.js'); // Backlink: User:Bradv/Scripts/Notepad.js importScript('User:Novem Linguae/Scripts/CiteHighlighter.js'); // Backlink: User:Novem Linguae/Scripts/CiteHighlighter.js importScript('User:GeneralNotability/mark-locked.js'); // Backlink: User:GeneralNotability/mark-locked.js importScript('User:SuperHamster/CiteUnseen.js'); // Backlink: User:SuperHamster/CiteUnseen.js importScript('User:SD0001/DYK-helper.js'); // Backlink: User:SD0001/DYK-helper.js

importScript('User:Enterprisey/link-deleted-revs.js'); // Backlink: User:Enterprisey/link-deleted-revs.js importScript('User:Bradv/Scripts/Superlinks.js'); // Backlink: User:Bradv/Scripts/Superlinks.js importScript('User:PleaseStand/userinfo.js'); // Backlink: User:PleaseStand/userinfo.js importScript('User:PleaseStand/userinfo.js'); // Backlink: User:PleaseStand/userinfo.js importScript('User:Ohconfucius/script/MOSNUM dates.js'); // Backlink: User:Ohconfucius/script/MOSNUM dates.js importScript('User:Evad37/rater.js'); // Backlink: User:Evad37/rater.js importScript('User:Mdaniels5757/markAdmins.js'); // Backlink: User:Mdaniels5757/markAdmins.js importScript('User:Ingenuity/AntiVandal.js'); // Backlink: User:Ingenuity/AntiVandal.js importScript('User:Evad37/duplinks-alt.js'); // Backlink: User:Evad37/duplinks-alt.js importScript('User:GregU/dashes.js'); // Backlink: User:GregU/dashes.js