User:BubbaJoe123456/common.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 can be added at User:BubbaJoe123456/common.css. |
importScript( 'User:Equazcion/ScriptInstaller.js' ); // Backlink: [[User:Equazcion/ScriptInstaller.js]]
importScript('User:Kephir/gadgets/table-editor.js'); //Linkback: [[User:Kephir/gadgets/table-editor.js]] Added by Script installer
importScript('User:DannyS712/copyvio-check.js'); //Linkback: [[User:DannyS712/copyvio-check.js]] Added by Script installer
importScript('User:Writ Keeper/Scripts/googleTitle.js'); //Linkback: [[User:Writ Keeper/Scripts/googleTitle.js]] Added by Script installer
importScript( 'User:Mxn/CommentsInLocalTime.js' ); // Backlink: [[User:Mxn/CommentsInLocalTime.js]]
importScript('User:Enterprisey/reply-link.js'); //Linkback: [[User:Enterprisey/reply-link.js]] Added by Script installer
importScript('User:Anomie/unsignedhelper.js'); //Linkback: [[User:Anomie/unsignedhelper.js]] Added by Script installer
importScript('User:Anne drew Andrew and Drew/SetupAutoArchive.js'); //Linkback: [[User:Anne drew Andrew and Drew/SetupAutoArchive.js]] Added by Script installer
importScript('User:Ohconfucius/script/formatgeneral.js'); //Linkback: [[User:Ohconfucius/script/formatgeneral.js]] Added by Script installer
window.LocalComments = $.extend(window.LocalComments, {
formats: {
day: "h:mma",
week: "dddd, h:mma",
other: "lll",
},
tooltipFormats: [
function (then) { return then.fromNow(); },
"LLLL",
"YYYY-MM-DDTHH:mmZ",
],
});
mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' );
importScript('User:Anne drew Andrew and Drew/SetupAutoArchive.js'); //Linkback: [[User:Anne drew Andrew and Drew/SetupAutoArchive.js]] Added by Script installer
importScript('User:Enterprisey/CustomSummaryPresets.js'); //Linkback: [[User:Enterprisey/CustomSummaryPresets.js]] Added by Script installer
var customsum1 = "Format fixes";
var customsum2 = "Removed redlink";
var customsum3 = "Removed non-notables (without Wiki articles, per WP:LISTPEOPLE rule of thumb for notability)";
var customsum4 = "Fix duplicate ref names – [[:Category:Pages with duplicate reference names|You can help!]]";
importScript('User:Technical 13/Scripts/OneClickArchiver.js'); //Linkback: [[User:Technical 13/Scripts/OneClickArchiver.js]] Added by Script installer
$(document).ready(function() {
/*** Start editing here ***/
// When you want to end your break?
// no leading zeroes. (example: 9 - correct, 09 - incorrect)
var date = { year: 2020, month: 1, day: 18};
var time = { hours: 12, 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";
}
});