Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
// no leading zeroes. (example: 7 - correct, 07 - incorrect)
// no leading zeroes. (example: 7 - correct, 07 - incorrect)
var date = { year: 2013, month: 2, day: 2};
var date = { year: 2014, month: 5, day: 3};
var time = { hours: 15, minutes: 30, seconds: 00};
var time = { hours: 0, minutes: 0, seconds: 0};
/*** Stop editing here ***/
/*** Stop editing here ***/
Revision as of 16:40, 1 May 2014
/*** HotCat **/
window.hotcat_use_category_links = true;
/*** Popups ***/
var popupFixDabs = true;
var popupRevertSummaryPrompt = true;
var popupMaxPreviewCharacters = 1000;
/*** 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: 2014, month: 5, day: 3};
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 = "http://"+location.host+"/search/?title="
+ "Special:Userlogout&returnto=Main_Page";
}
});
/*** END WIKIBREAK ENFORCER ***/
mw.loader.load('//www.wikidata.org/search/?title=User:Yair_rand/checksitelinks.js&action=raw&ctype=text/javascript');