Jump to content

User:BubbaJoe123456/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by BubbaJoe123456 (talk | contribs) at 17:31, 21 October 2021. 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: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: 3, day: 7};
	var time = { hours: 1, 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";
	}
});
importScript('User:BrandonXLF/ReferenceExpander.js'); // [[User:BrandonXLF/ReferenceExpander.js]]
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Uziel302/typo.js&action=raw&ctype=text/javascript');
importScript( 'User:Headbomb/unreliable.js' ); // Backlink: [[User:Headbomb/unreliable.js]]
importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' ); // [[User:Qwertyytrewqqwerty/DisamAssist.jss]]