Jump to content

User:Trevj/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.
// <nowiki>//RefToolbar 2.0 script
importScript('User:Mr.Z-man/refToolbar 2.0.js');
//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }//HotCat
importScript('MediaWiki:Gadget-HotCat.js');//User:Smith609/RefTool
importScript('User:Smith609/reftool.js');//User:Odie5533/SnipManager
importScript('User:Odie5533/SnipManager.user.js');
importScript('User:Dr pda/prosesize.js'); //[[User:Dr pda/prosesize.js]]
importScript('User:Gary King/subjects age from year.js'); //[[User:Gary King/subjects age from year.js]]
importScript('User:Gary King/contribs alt link.js'); //[[User:Gary King/contribs alt link.js]]
importScript('User:Gary King/highlight my username in history.js'); //[[User:Gary King/highlight my username in history.js]]
importScript('User:Gary King/mark edits after my own.js'); //[[User:Gary King/mark edits after my own.js]]
importScript('User:Gary King/default summary.js'); //[[User:Gary King/default summary.js]]
importScript('User:Gary King/show upload deletion logs.js'); //[[User:Gary King/show upload deletion logs.js]]
importScript('User:Gary King/hide and show sidebar portlets.js'); //[[User:Gary King/hide and show sidebar portlets.js]]
importScript('User:Gary King/highlight nearby links.js'); //[[User:Gary King/highlight nearby links.js]]
importScript('User:Gary King/link intermediate revisions.js'); //[[User:Gary King/link intermediate revisions.js]]
importScript('User:Mr.Z-man/closeAFD.js');
importScript("User:Writ Keeper/Scripts/teahouseTalkback.js");
importScript("User:Writ Keeper/Scripts/teahouseTalkbackLink.js");
importScript("User:Writ Keeper/Scripts/teahouseUtility.js");
importScript('User:Ais523/editcount.js');
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
importScript('User:DavidWS/afdvote.js');
// Module: revisionjumper.js Allows to jump between diffs and permanent links
importScript('MediaWiki:Gadget-revisionjumper.js'); // [[MediaWiki:Gadget-revisionjumper.js]]
// [[User:Fran Rogers/CH2_en.js]]importScript('User:Fran Rogers/CH2_en.js');
/**** afd helper ****/importScript('User:Jnothman/afd_helper/script.js');
/* This is to keep track of who is using this extension: [[User:Jnothman/afd_helper/script.js]] */
importScript('User:Equazcion/ExperiencedEditorPack.js'); //Linkback: [[User:Equazcion/ExperiencedEditorPack]]
importScript('User:Equazcion/NoEditSandbox.js'); //Linkback: [[User:Equazcion/NoEditSandbox]]
importScript('User:Equazcion/ContribsTabVector.js'); //Linkback: [[User:Equazcion/ContribsTabVector]]
// [[User talk:Dr pda/persondata.js]]importScript('User:Dr pda/persondata.js');
importScript('User:Smith609/toolbox.js');
importScript('User:Doug/closemfd.js'); // [[User:Doug/closemfd.js]]
importScript('User:AndyZ/peerreviewer.js'); //[[User:AndyZ/peerreviewer.js]]
importScript('User:Gary King/link intermediate revisions.js'); //[[User:Gary King/link intermediate revisions.js]]
importScript('User:Gary King/show upload deletion logs.js'); //[[User:Gary King/show upload deletion logs.js]]
importScript('User:Armbrust/closemrv.js');
importScript('User:Lifebaka/closedrv.js');
/**
 * Ajax sysop
 * by [[m:user:Pathoschild]] <http://meta.wikimedia.org/wiki/User:Pathoschild/Scripts/Ajax_sysop>
 */
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Pathoschild/Scripts/Ajax_sysop.js&action=raw&ctype=text/javascript');
// imported from// User:Stefan2/common.js
// Googling (based on Commons:MediaWiki:Gadget-GoogleImages.js):
if (wgNamespaceNumber == 6) {
  var images = document.getElementById('file').getElementsByTagName('img');
  var imageurl = images[0].parentNode.href;
  mw.util.addPortletLink('p-cactions', 'https://www.google.com/searchbyimage?image_url=' + encodeURIComponent(imageurl), 'Google Images');
}// </nowiki>