Jump to content

User:Lear's Fool/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lear's Fool (talk | contribs) at 00:58, 20 August 2010 (enforced wikibreak). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
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:Ale_jrb/Scripts/csdhelper.js');  //[[User:Ale_jrb/Scripts]]
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
importScript('User:Mr.Z-man/closeAFD.js');
importScript('User:Dr pda/prosesize.js'); //[[User:Dr pda/prosesize.js]];
importScript('User:Quarl/util.js');
importScript('User:Quarl/wikipage.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');
importScript('User:AzaToth/twinkle.js');
importScript('User:PleaseStand/userinfo.js');

//Delsort Stuff
importScript('Wikipedia:WikiProject Deletion sorting/delsort.js');
DelsortConfig = {
  debugLevel : 0,
  watchDelsortedLists : 0,
  watchDelsortedAfd : 1,
  shortcuts : []
}
////////////////////////////////////////////////////////////

importScript('User:Haza-w/cactions.js'); //[[User:Haza-w/cactions.js]]
var cactions = {
    itabs: false,
    svars: Array(
        ['New pages',              wgScript+'?title=Special:NewPages&action=view'],
        ['AIV reports',            wgScript+'?title=Wikipedia:Administrator_intervention_against_vandalism&#Alerts'],
        ['AfD log for today',      wgScript+'?title=Wikipedia:Articles_for_deletion/Log/Today#toc'],
        ['CSD Criteria',           wgScript+'?title=Wikipedia:Criteria_for_speedy_deletion#General'],
        ['Stub template list',     wgScript+'?title=Wikipedia:WikiProject Stub sorting/List of stubs'],
        ['Notability Policy',      wgScript+'?title=Wikipedia:Notability'],
        ['Verifiability Policy',   wgScript+'?title=Wikipedia:Verifiability'],
        ['NPOV Policy',            wgScript+'?title=Wikipedia:NPOV'],
        ['BLP Policy',             wgScript+'?title=Wikipedia:BLP'],
        ['Manual of Style',        wgScript+'?title=Wikipedia:MOS']
    )
};

//New Page Patrol thingo
//importScript('User:TheJosh/Scripts/NewPagePatrol.js');
importScript('User:Lear\'s Fool/Scripts/NewPagePatrol.js');
npp_enabled = true;
npp_num_pages = 8;

//New Username thingo
importScript('User:TheJosh/Scripts/NewUserPatrol.js');
nup_enabled = false;
nup_num_pages =5;

/*** BEGIN WIKIBREAK ENFORCER ***/
addOnloadHook(function() {
 
	/*** Start editing here ***/
 
	// When you want to end your break?
	// no leading zeroes. (example: 7 - correct, 07 - incorrect)
 
	var date = { year: 2010, month: 8, day: 20};
	var time = { hours: 18, 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 = "http://"+location.host+"/w/index.php?title="
			+ "Special:Userlogout&returnto=Main_Page";
	}
});
/*** END WIKIBREAK ENFORCER ***/