/*** Tools for SPI ***/
mw.loader.load('https://tools-static.wmflabs.org/spi-tools-dev/spi/tag-check.js');
// importScript('User:RoySmith/tag-check.js'); // Backlink: [[User:RoySmith/tag-check.js]]
importScript('User:GeneralNotability/spihelper.js'); // Backlink: [[User:GeneralNotability/spihelper.js]]
// importScript('User:RoySmith/spihelper.js'); // Backlink: [[User:GeneralNotability/spihelper.js]]
// importScript('User:RoySmith/SpiTools.js');
maxUsersCUStaleness = 300;
lazyCheckCUStaleness = false;
mw.loader.load("/w/index.php?title=User:Writ Keeper/Scripts/cuStaleness.js&action=raw&ctype=text/javascript");
mw.loader.load("/w/index.php?title=User:Writ Keeper/Scripts/sockStaleness.js&action=raw&ctype=text/javascript");
//If you add this script to your monobook, it will mark all linked blocked users with a strikethrough, and mark all linked indefinitely blocked users with italics and a strikethrough.
/*** MoveToDraft script (only for mainspace articles) ***/
mw.loader.load( '/w/index.php?title=User:Evad37/MoveToDraft.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Evad37/MoveToDraft.js]]
/*** Draftify gadget (can use for userspace pages) ***/
importScript('User:Mr. Stradivarius/gadgets/Draftify.js'); // Linkback: [[User:Mr. Stradivarius/gadgets/Draftify.js]]
mw.loader.load("/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript");
// Page Curation script
importScript('User:Lourdes/PageCuration.js'); // Linkback: [[User:Lourdes/PageCuration.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: 2018, month: 5, day: 17};
var time = { hours: 0, 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!");
location = "//"+location.host+"/w/index.php?title="
+ "Special:Userlogout&returnto=Main_Page";
}
});
/*** END WIKIBREAK ENFORCER ***/