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 14:56, 27 February 2016 (ce). 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.
/* Find duplicate arguments */

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

/* Add-on for wikEd */

wikEdRegExTypoFix = true;

/* Disables auto-launch of diff */

autoEdClick = false;

/* Adds AutoFormatter to Toolbar */

mw.loader.load( '//de.wikipedia.org/w/index.php?title=Benutzer:TMg/autoFormatter.js&action=raw&ctype=text/javascript' );

/* 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");

/* Adds a [TB] link next to every signature at The Teahouse to send a Talkback message to their Talk page */

importScript("User:Writ Keeper/Scripts/teahouseTalkbackLink.js"); // Adds a talkback link to signatures on the Teahouse

/* 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" );

/* 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]);

/* Adds a Pending changes link to Tools links on left side of pages */

addOnloadHook(function () { //add new pages link to toolbar
 addPortletLink(
  "p-navigation",     // toolbox portlet
  "https://en.wikipedia.org/wiki/Special:PendingChanges",
  "Pending Changes"  // link label
)});

/* 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');

/* Adds FurMe for tagging images with licensing */

importScript('User:AWeenieMan/furme.js');

/* Adds links in lefthand Tools links section to unify dates per MOS:DATES */

importScript('User:Ohconfucius/script/MOSNUM dates.js'); // [[User:Ohconfucius/script/MOSNUM dates.js]]

/* Puts a link in the Tools tab to easily submit Diffs to EditQuest */

importScript('User:Samtar/dev/editquest/editquest.js'); //Edit Quest

/* Adds DYK Check link to lefthand Tools links */

importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool

/* Adds Reflinks link to lefthand links */

// Add [[WP:Reflinks]] launcher in the toolbox on left
$(function () {
 mw.util.addPortletLink(
  "p-tb",     // toolbox portlet
  "http://dispenser.homenet.org/~dispenser/cgi-bin/webreflinks.py/" + mw.config.get('wgPageName')
   + "?client=script&citeweb=on&overwrite=&limit=20&lang=" + mw.config.get('wgContentLanguage'),
  "Reflinks"  // link label
)});