User:PresN/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:Anomie/talklink.js'); // Linkback: [[User:Anomie/talklink.js]]
importStylesheet('User:Anomie/talklink.css'); // Linkback: [[User:Anomie/talklink.css]]

//mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Hedonil/XTools/XTools.js&action=raw&ctype=text/javascript'); stalls out

importScript('User:Frietjes/findargdups.js'); // [[User:Frietjes/findargdups]]

//importScript('User:Kephir/gadgets/rater.js'); // [[User:Kephir/gadgets/rater]]
importScript('User:Evad37/rater.js'); // [[User:Evad37/rater]]

importScript('User:קיפודנחש/viewstats.js'); // Backlink: [[User:קיפודנחש/viewstats.js]]

importScript('User:Headbomb/unreliable.js'); // Backlink: [[User:Headbomb/unreliable.js]]

//importScript('User:Trappist the monk/HarvErrors.js'); // Backlink: [[User:Trappist the monk/HarvErrors.js]]

/////////////////////////////////////////////////

// DYKcheck tool

importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]] 

/////////////////////////////////////////////////

// [[Wikipedia:Nominations Viewer]]

importScript('User:PresN/nominations viewer.js'); // ported from User:A455bcd9/nominations viewer.js

/////////////////////////////////////////////////

// Wikicup Viewer

importScript('User:Gary/wikicup viewer.js');

/////////////////////////////////////////////////

//importScript('User:Gary/comments in local time.js');

// Custom version of [[User:Gary King/comments in local time.js]]

importScript('User:PresN/timecomments.js'); 
LocalComments = {
	dateDifference: false,
	dateFormat: 'mdy',
	timeFirst: true,
	twentyFourHours: false
};

/////////////////////////////////////////////////

// Custom version of [[User:Anomie/linkclassifier.js]]

LinkClassifierOnDemand=true;
importScript('User:PresN/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importStylesheet('User:PresN/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]
$(function(){
  $.when( mw.loader.using( [ 'mediawiki.util' ] ), $.ready ).then( function() {
    mw.util.addPortletLink('p-cactions', 'javascript:LinkClassifier.onDemand()', 'Link Classifier');
  } );
});

/////////////////////////////////////////////////

importScript('User:Daniel Quinlan/Scripts/CitationGenerator.js'); // Backlink: [[User:Daniel Quinlan/Scripts/CitationGenerator.js]]