Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript('User:Lupin/recent2.js');
importScript('User:DannyS712/deOrphan.js'); // Backlink: [[User:DannyS712/deOrphan.js]]
importScript('User:Evad37/rater.js'); // Backlink: [[User:Evad37/rater.js]]
importScript('User:SD0001/private-sandbox.js'); // Backlink: [[User:SD0001/private-sandbox.js]]
sciNoConfirm=true;
importScript('User:Frietjes/templatecompare.js'); // Backlink: [[User:Frietjes/templatecompare.js]]
importScript('User:Frietjes/findargdups.js'); // [[User:Frietjes/findargdups]]
importScript('User:SD0001/StubSorter.js'); // Backlink: [[User:SD0001/StubSorter.js]]
//importScript('User:Ahecht/Scripts/pageswap.js'); // Backlink: [[User:Ahecht/Scripts/pageswap.js]]
importScript('User:Polygnotus/DuplicateReferences.js'); // Backlink: [[User:Polygnotus/DuplicateReferences.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');
importScript('User:Trappist the monk/HarvErrors.js'); // Backlink: [[User:Trappist the monk/HarvErrors.js]]
importScript('User:MPGuy2824/MoveToDraft.js'); // Backlink: [[User:MPGuy2824/MoveToDraft.js]]
importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]
importScript('User:Phlsph7/HighlightUnreferencedPassages.js'); // Backlink: [[User:Phlsph7/HighlightUnreferencedPassages.js]]
importScript('User:Theleekycauldron/Scripts/PSHAW/main.js'); // Backlink: [[User:Theleekycauldron/Scripts/PSHAW/main.js]]
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
importScript('User:Novem Linguae/Scripts/GANReviewTool.js'); // Backlink: [[User:Novem Linguae/Scripts/GANReviewTool.js]]
importScript('User:10nm/beta.js'); // Backlink: [[User:10nm/beta.js]]
importScript('User:Eejit43/scripts/redirect-helper.js'); // Backlink: [[User:Eejit43/scripts/redirect-helper.js]]
importScript('User:Nardog/RefRenamer.js'); // Backlink: [[User:Nardog/RefRenamer.js]]
importScript('User:Eejit43/scripts/article-cleaner.js'); // Backlink: [[User:Eejit43/scripts/article-cleaner.js]]
importScript('User:Frietjes/findargdups.js'); // [[User:Frietjes/findargdups]]
$(document).ready(function() 
{

	/*** Start editing here ***/

	// When you want to end your break?
	// no leading zeroes. (example: 9 - correct, 09 - incorrect)

	var date = { year: 2026, month: 6, day: 19};
	var time = { hours: 15, minutes: 00, seconds: 00 };

	/*** Stop editing here ***/
	
	var currentDate = new Date();
	var enforcedBreakEnd = new Date(
		date.year,date.month-1,date.day,time.hours,time.minutes,time.seconds);
	$.getJSON("/w/api.php?action=query&meta=siteinfo&siprop=general&format=json", function(data) {
        var serverTimeStr = data.query.general.time; // ISO 8601 string
        var serverTime = new Date(serverTimeStr);

        if (serverTime < 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");
				});
			});
        }
	});
});