User:Trevj/common.js
Appearance
Code that you insert on this page could contain malicious content capable of compromising your account. If you import a script from another page with "importScript", "mw.loader.load", "iusc", or "lusc", take note that this causes you to dynamically load a remote script, which could be changed by others. Editors are responsible for all edits and actions they perform, including by scripts. User scripts are not centrally supported and may malfunction or become inoperable due to software changes. A guide to help you find broken scripts is available. If you are unsure whether code you are adding to this page is safe, you can ask at the appropriate village pump. This code will be executed when previewing this page. |
![]() | The accompanying .css page for this skin is at User:Trevj/common.css. |
// <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://wiki.riteme.site/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>