importScript('User:Kephir/gadgets/rater.js'); // [[User:Kephir/gadgets/rater]]
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
importScript('User:Ryan Vesey/THQ.js'); // Adds Teahouse link to sidebar
importScript("User:Ocaasi/WikiLoveinstallscript.js");// Adds Teahouse Badges to WikiLove
importScript( 'User:Enterprisey/reply-link.js' ); // Backlink: [[User:Enterprisey/reply-link.js]]
window.kephirUnclutter = {
enableOnPageLoad : true,
wrapDiscussions : true,
collapseDiscussionsByDefault: false,
signaturesProcess : true,
signaturesMinimise : true,
signaturesColourise : false,
signaturesExceptions : ["LukeSurl"],
userAnnotations : { /* "username": "annotation" pairs, separated by commas */ },
processSig : function (context) { return false; },
postProcessSig : function (context) { return false; }
};
importScript('User:Kephir/gadgets/unclutter.js'); // [[User:Kephir/gadgets/unclutter]]
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
//Adds 'Check Refs' to the toolbox, links to http://toolserver.org/~dispenser/cgi-bin/reflinks.py -- Dispenser's reference title fixer.
function refcheck()
{
mw.util.addPortletLink("p-tb", "http://toolserver.org/~dispenser/cgi-bin/webreflinks.py?page=" + mw.config.get('wgPageName') + "&citeweb=on", "Check Refs");
}
function linkcheck()
{
mw.util.addPortletLink("p-tb", "http://toolserver.org/~dispenser/cgi-bin/webchecklinks.py?page=" + mw.config.get('wgPageName'), "Check Links");
}
if ( mw.config.get('wgNamespaceNumber') == 0 ) {
addOnloadHook(refcheck);
addOnloadHook(linkcheck);
}
// [[User:Dr pda/prosesize]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ADr+pda%2Fprosesize.js&action=raw&ctype=text/javascript');
/*** 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: 2019, month: 12, day: 18};
var time = { hours: 9, 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 ***/