Jump to content

User:Pkbwcgs/common.js

From Wikipedia, the free encyclopedia
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:Fox Wilson/delsort.js'); // Deletion sorting script [[WP:FWDS]]: importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' ); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
importScript('Wikipedia:AutoEd/complete.js');
mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' );
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Joeytje50/JWB.js/load.js&action=raw&ctype=text/javascript');
importScript('User:Ohconfucius/script/Common Terms.js'); // [[User:Ohconfucius/script/Common Terms.js]];
importScript('User:Σ/Testing facility/Archiver.js|User:Σ/Testing facility/Archiver');
importScript('User:फ़िलप्रो/script/EN-IN.js'); // [[User:Filpro/script/EN-IN.js]]
importScript('User:Evad37/XFDcloser.js'); // [[User:Evad37/XFDcloser]]
importScript('User:Zvn/confirmwatchlistrollback.js');
importScript('User:Meteor sandwich yum/Tidy citations.js'); //Linkback: [[User:Meteor sandwich yum/Tidy citations.js]]
importScript('User:Lupin/recent2.js');
importScript('User:VoA/monobook.js');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript');
importScript('subst:iusc|User:Qwertyytrewqqwerty/DisamAssist.js');
importScript( 'User:Qwertyytrewqqwerty/DisamAssist.js' ); // Backlink: [[User:Qwertyytrewqqwerty/DisamAssist.js]]
// Add [[WP:Reflinks]] launcher in the toolbox on left
$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).then(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "https://dispenser.info.tm/~dispenser/cgi-bin/reflinks.py?lang=" + mw.config.get('wgContentLanguage') + "&page=" + mw.config.get('wgPageName') + "&autoclick=wpPreview", // updated tool URL as of 9 November 2017
  "Reflinks"  // link label
)});
importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('Wikipedia:AutoEd/complete.js');
importScript('User:Ale_jrb/Scripts/csdhelper.js');  //[[User:Ale_jrb/Scripts]]
importScript('User:Primefac/revdel.js'); // [[User:Primefac/revdel]]
/*** 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: 2018, month: 2, day: 23};
	var time = { hours: 16, 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 ***/
importScript('User:Frietjes/findargdups.js'); // [[User:Frietjes/findargdups]]
importScript('User:Symplectic_Map/spell.js');
var wikEdConfig = {};
wikEdConfig.regExTypoFix = true;
importScript('User:Ohconfucius/script/formatgeneral.js'); // [[User:Ohconfucius/script/formatgeneral.js]]
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
importScript('User:Galobtter/xfdcloser_test.js'); // [[User:Evad37/XFDcloser]]
importScript('User:Anomie/hide-images.js');
mw.loader.load( "https://en.wikipedia.org/w/index.php?title=User:PerfektesChaos/js/lintHint/r.js&action=raw&bcache=1&maxage=86400&ctype=text/javascript" );
// importScript('User:Enterprisey/afch-dev.js'); // Linkback: [[User:Enterprisey/afch-dev.js]]
importScript('User:Jackmcbarn/editProtectedHelper.js'); // Linkback: [[User:Jackmcbarn/editProtectedHelper.js]]
mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );
importScript( 'User:Enterprisey/cv-revdel.js' ); // Backlink: [[User:Enterprisey/cv-revdel.js]]