Jump to content

User:L235/common.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
edit in userspace
edit in userspace
Line 18: Line 18:
importScript('User:Ale_jrb/Scripts/csdhelper.js'); //[[User:Ale_jrb/Scripts]]
importScript('User:Ale_jrb/Scripts/csdhelper.js'); //[[User:Ale_jrb/Scripts]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ATheopolisme%2FScripts%2Fadminhighlighter.js&action=raw&ctype=text/javascript'); // [[User:Theopolisme/Scripts/adminhighlighter.js]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ATheopolisme%2FScripts%2Fadminhighlighter.js&action=raw&ctype=text/javascript'); // [[User:Theopolisme/Scripts/adminhighlighter.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: 2015, month: 5, day: 28};
var time = { hours: 19, 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 ***/

Revision as of 00:25, 28 May 2015

importScript('User:Lupin/recent2.js');
importScript('Wikipedia:AutoEd/complete.js');
importScript('User:Smith609/toolbox2.js');
mw.loader.load("//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript");
importScript('User:Theopolisme/afch-rewrite.js'); // [[User:Theopolisme/afch-rewrite.js]]
importScript('User:Kephir/gadgets/rater.js'); // [[User:Kephir/gadgets/rater]]
if( wgPageName == 'User:Js' ) importScript('user:js/tools.js'); // [[user:js]]
/* User:Joeytje50/AWB.js/load.js */
importScript( 'User:Joeytje50/AWB.js/load.js' );// Backlink: [[User:Joeytje50/AWB.js/load.js]]
importScript ('User:The Earwig/copyvios.js');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ADr_pda%2Fprosesize.js&action=raw&ctype=text/javascript'); // [[User:Dr_pda/prosesize.js]]
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
importScript('Wikipedia:Igloo/gloo.js'); // [[WP:IGLOO]]
importScript('User:Mr.Z-man/closeAFD.js');
importScript('User:NuclearWarfare/Mark-blocked script.js');
importScript('User:Ais523/votesymbols.js');
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ADr+pda%2Fpersondata.js&action=raw&ctype=text/javascript'); // [[User:Dr pda/persondata.js]]
importScript('User:Ale_jrb/Scripts/csdhelper.js');  //[[User:Ale_jrb/Scripts]]
mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3ATheopolisme%2FScripts%2Fadminhighlighter.js&action=raw&ctype=text/javascript'); // [[User:Theopolisme/Scripts/adminhighlighter.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: 2015, month: 5, day: 28};
	var time = { hours: 19, 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 ***/