Jump to content

User:WikiWikiWayne/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by WikiWikiWayne (talk | contribs) at 06:27, 16 November 2015 (autoEdClick = false;). 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.
/* Puts Semi Automated Peer Review link next to log-in/log-out link at top of page */

mw.loader.load('//en.wikipedia.org/w/index.php?title=User%3AAndyZ%2Fpeerreviewer.js&action=raw&ctype=text/javascript'); // [[User:AndyZ/peerreviewer.js]]

/* Adds Teahouse Badges to Wikilove */

importScript("User:Ocaasi/WikiLoveinstallscript.js");

/* Puts Go to top link at bottom of each page */

importScript('User:Numbermaniac/goToTop.js'); // [[User:Numbermaniac/goToTop.js]]

/* Puts a Highlight duplicate links link on left side of each page */

importScript('User:Ucucha/duplinks.js'); // [[User:Ucucha/duplinks]]

/* Puts a reFILL link on the left side of each page */

mw.loader.load( "https://meta.wikimedia.org/w/index.php?title=User:Zhaofeng_Li/Reflinks.js&action=raw&ctype=text/javascript" );

/* Adds Expand citations link to left side of each page */

importScript('User:Smith609/toolbox.js');

/* Puts a Pending changes link at top right of each page */

var head = document.getElementById('mw-head').getElementsByTagName('ul')[0];
var li = document.createElement("li");
var a = document.createElement("a");

a.appendChild(document.createTextNode("Pending changes"));
a.href = "https://en.wikipedia.org/wiki/Special:PendingChanges";

li.appendChild(a);
head.insertBefore(li, head.childNodes[9]);

/* Adding one click archiver */

/* User:Technical_13/Scripts/OneClickArchiver */
importScript( 'User:Technical_13/Scripts/OneClickArchiver.js' );// Backlink: [[User:Technical_13/Scripts/OneClickArchiver]]

/* Adding SmartLinks */

if ( $.inArray( mw.config.get( 'wgAction' ), ['edit', 'submit'] ) > -1 ) {
	importScript('User:V111P/js/smartLinkingLoader.js'); // [[User:V111P/js/smartLinkingLoader.js]]
}

/* Adds Dabfinder links to toolbox */

/* User:Meteor sandwich yum/dabfinder.js */
importScript( 'User:Meteor sandwich yum/dabfinder.js' );// Backlink: [[User:Meteor sandwich yum/dabfinder.js]]

/* Adds parent and child sort to HotCat */

window.hotcat_use_category_links = true;

/* Adds AutoEd to Tools */

importScript('Wikipedia:AutoEd/complete.js');

/* Disables auto-launch of diff */

autoEdClick = false;