User:MathewTownsend/vector.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:MathewTownsend/vector.css. |
//dashes
//importScript('User:GregU/dashes.js'); //[[User:GregU/dashes.js]]
//importScript('User:Dr pda/editrefs.js'); //[[User:Dr pda/editrefs.js]]
// Original: [[User:Dr pda/prosesize.js]]
importScript("User:GregU/dashes.js");
importScript("User:PleaseStand/segregate-refs.js");var SegregateRefsJsAllowConversion = true;
importScript('User:Cameltrader/Advisor.js'); // User:Cameltrader/Advisor
importScript('User:Dr_pda/prosesize.js'); //[[User:Dr_pda/prosesize.js]]
importScript('user:js/urldecoder.js')
importScript('User:Ohconfucius/script/Common Terms.js'); //[[User:Ohconfucius/script/Common Terms.js]]
importScript('User:Ohconfucius/script/EngvarB.js'); //[[User:Ohconfucius/script/EngvarB.js]]
importScript('User:Ohconfucius/script/formatgeneral.js');
importScript('User:Ohconfucius/script/MOSNUM dates.js'); //[[User:Ohconfucius/script/MOSNUM dates.js]]
importScript('User:Snottywong/diffconverter.js'); //[[User:Snottywong/diffconverter.js]]
importScript('User:Ucucha/duplinks.js');
importScript('User:Ucucha/HarvErrors.js');
// Add [[WP:Reflinks]] launcher in the toolbox on left
addOnloadHook(function () {
mw.util.addPortletLink(
"p-tb", // toolbox portlet
"http://toolserver.org/~dispenser/cgi-bin/webreflinks.py/" + wgPageName
+ "?client=script&citeweb=on&overwrite=&limit=20&lang=" + wgContentLanguage,
"Reflinks" // link label
)});
//delinking script
importScript('User:Splarka/sysopdectector.js'); //Admin detector
importScript('User:Shubinator/DYKcheck.js'); //[[User:Shubinator/DYKcheck.js]]
//trials - have no idea
importScript('User:Stevage/EnhanceHistory.user.js');
importScript('User:Gary King/userinfo.js');
importScript('MediaWiki:Gadget-HotCat.js'); //hot cat script
importScript('User:Ryan Vesey/sidebar.js'); //puts a link to Special:NewPagesFeed in the toolbox (or anywhere in the sidebar)
//autoed script
importScript('Wikipedia:AutoEd/complete.js');
//importScript('User:Ucucha/HarvErrors2.js'); shows less red but allows more errors through
//suggested by Dianna for Google image searches
// <nowiki>
importScript('User:MGA73/nowcommonsreview.js');
// Fileinfo line from User:Magog the Ogre/monobook.js.
if (wgNamespaceNumber == 6) {
mw.util.addPortletLink("p-cactions", "http://toolserver.org/~magog/oldver.php?project=" +wgContentLanguage+".wikipedia"+"&src="+wgTitle+"&trg="+wgTitle, "Old versions");
mw.util.addPortletLink("p-cactions", "http://toolserver.org/~magog/fileinfo.php?project=en.wikipedia&information=1&authordate=1&license=1&fields=1&src="+wgTitle, "File info");
}
if (wgNamespaceNumber == 6) {
mw.util.addPortletLink("p-cactions", "https://commons.wikimedia.org/wiki/File:"+wgTitle, "Commons");
}
// 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>