MediaWiki:DeadlineAlert.js

var deadline_now = new Date; if (deadline_now.getDate >= 28 && $.cookie("HPW_CONTEST-notification-dismissed")!=="1") { if ($("#WikiaNotifications").length==0) { $("body").append(''); }	$("#WikiaNotifications").append('  The UotM, PotM and UA Unterganging contests are nearing their deadlines! Go to the Contests Portal for links and nominate before it\'s too late! '); } function closeContestAlert{ $.cookie("HPW_CONTEST-notification-dismissed", "1", { path:"/", expires:7 }); $("#contest-deadline-alert").parent.remove; }