User:Rlevse/monobook.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
The accompanying .css page for this skin is at User:Rlevse/monobook.css. |
// [[User:Lupin/popups.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript');
//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js'
+ '&action=raw&ctype=text/javascript'); }
//Script from [[User:AndyZ/peerreviewer.js]]
mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:AndyZ/peerreviewer.js'
+ '&action=raw&ctype=text/javascript');
//Prose script from [[User:Dr pda]]
importScript('User:Omegatron/monobook.js/addlink.js'); //[[User:Omegatron/monobook.js/addlink.js]]
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
importScript("User:Animum/count.js");
//VoA CU script
importScript('User:Voice_of_All/Addtabs/monobook.js');
importScript('User:Voice_of_All/CheckUser/monobook.js');
$(function() {
var item = mw.util.addPortletLink('p-cactions','','βsocks','ca-betasocks','Check socks with Betacommand\'s tool','',null);
var link=item.firstChild;
link.onclick = function() {
jsMsg('<form action="http://tools.wikimedia.de/~betacommand/cgi-bin/compare">'+
'<table>' +
'<tr><th>Master<\/th><td><input name="master"><\/td><\/tr>' +
'<tr><th>Socks<\/th><td><input name="socks"><\/td><\/tr>' +
'<tr><th>Key<\/th><td><input name="key"><\/td><\/tr>' +
'<tr><th>Print<\/th><td><input name="Print"><\/td><\/tr>' +
'<tr><td colspan="2"><input type="submit"><\/td><\/tr><\/table>'+'<\/form>','betasocks');
return false;
}
});
//replace otrspending with permission otrs
importScript('User:Rjd0060/PermissionOTRS.js');
//for pages that do not contain "otrs pending"
importScript('User:Rjd0060/OTRS.js');
//to put confirmationotrs on talk pages
importScript('User:Rjd0060/OTRS-Text.js');
//DYKcheck tool
importScript('User:Shubinator/DYKcheck.js');
//keep this at the bottom, see [[User:TheDJ/Qui]]
importScript('User:TheDJ/qui.js');
$(function() {
/*** Start editing here ***/
// When you want to end your break?
// no leading zeroes. (example: 7 - correct, 07 - incorrect)
var date = { year: 2009, month: 12, day: 26};
var time = { hours: 1, minutes: 25, 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 = "http://"+location.host+"/w/index.php?title="
+ "Special:Userlogout&returnto=Main_Page";
}
});