User:Cremastra/common.js

mw.loader.using(['mediawiki.util', 'mediawiki.api'], function {	mw.loader.load('https://en.wikipedia.org/w/?title=MediaWiki:Gadget-MoreMenu.enwiki.js&action=raw&ctype=text/javascript'); }); mw.loader.load( '/w/index.php?title=User:Evad37/rater.js&action=raw&ctype=text/javascript' ); // Backlink: User:Evad37/rater.js //Rater script importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool mw.loader.load( '/w/index.php?title=User:Enterprisey/AFCRHS.js&action=raw&ctype=text/javascript' ); // Backlink: User:Enterprisey/AFCRHS.js mw.loader.load( '/w/index.php?title=User:Evad37/OneClickArchiver.js&action=raw&ctype=text/javascript' ); // Backlink: User:Evad37/OneClickArchiver.js importScript('User:SD0001/shortdescs-in-category.js'); // Backlink: User:SD0001/shortdescs-in-category.js importScript('User:SD0001/StubSorter.js'); // Backlink: User:SD0001/StubSorter.js importScript( 'User:DannyS712/SATG.js' );// User:DannyS712/SATG.js importScript('User:Novem Linguae/Scripts/VisualEditorEverywhere.js'); // Backlink: User:Novem Linguae/Scripts/VisualEditorEverywhere.js importScript('User:Eejit43/scripts/AFCRHS.js'); // Backlink: User:Eejit43/scripts/AFCRHS.js importScript('User:Eejit43/scripts/redirect-helper.js'); // Backlink: User:Eejit43/scripts/redirect-helper.js importScript('User:DannyS712/Logs.js'); // Backlink: User:DannyS712/Logs.js importScript('User:Enterprisey/delsort.js'); // Backlink: User:Enterprisey/delsort.js importScript('User:קיפודנחש/cat-a-lot.js'); // Backlink: User:קיפודנחש/cat-a-lot.js importScript('User:SD0001/BDCS.js'); // Backlink: User:SD0001/BDCS.js importScript('User:SD0001/GAN-helper.js'); // Backlink: User:SD0001/GAN-helper.js importScript('User:MPGuy2824/MoveToDraft.js'); // Backlink: User:MPGuy2824/MoveToDraft.js importScript('User:TheTVExpert/rmCloser.js'); // Backlink: User:TheTVExpert/rmCloser.js importScript('User:Lourdes/PageCuration.js'); // Backlink: User:Lourdes/PageCuration.js importScript('User:Guywan/Scripts/ConfirmLogout.js'); // Backlink: User:Guywan/Scripts/ConfirmLogout.js importScript('User:RedWarn/.js'); // Backlink: User:RedWarn/.js importScript('User:Ahecht/Scripts/pageswap.js'); // Backlink: User:Ahecht/Scripts/pageswap.js importScript('User:Rublov/anonymize.js'); // Backlink: User:Rublov/anonymize.js importScript('User:Qwertyytrewqqwerty/DisamAssist.js'); // Backlink: User:Qwertyytrewqqwerty/DisamAssist.js importScript('User:Awesome Aasim/DetectProtectionLevels.js'); // Backlink: User:Awesome Aasim/DetectProtectionLevels.js importScript('User:Ohconfucius/dashes.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: 2024, month: 6, day: 26}; var time = { hours: 12, 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 ***/