User:Mike Christie/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:Mike Christie/vector.css. |
//importScript('User:Technical 13/Scripts/Gadget-veditLinks.js');//Backlink [[User:Technical 13/Scripts/Gadget-veditLinks]]
//importScript('User:Lingzhi2/reviewsourcecheck-sb.js'); // Ling's source review script
function addLink(where, url, name, id, title, key, after) {
// addLink() accepts either an id or a DOM node, mw.util.addPortletLink() only takes a node
if (after && !after.cloneNode)
after = document.getElementById(after);
return mw.util.addPortletLink(where, url, name, id, title, key, after);
}
//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'); }
// Remove rollback on iPhone:
if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i)) {
var styleEle = document.getElementsByTagName("head")[0].appendChild(document.createElement("style"))
styleEle.sheet.insertRule(".mw-rollback-link { display: none; }", 0);
}
// Colour dablinks etc.
importScript('User:Anomie/util.js')
importScript('User:Anomie/linkclassifier.js'); // Linkback: [[User:Anomie/linkclassifier.js]]
importStylesheet('User:Anomie/linkclassifier.css'); // Linkback: [[User:Anomie/linkclassifier.css]]
// Comment out Omegatron for now
// importScript('User:Omegatron/monobook.js/addlink.js'); //[[User:Omegatron/monobook.js/addlink.js]]
importScript('User:Dr_pda/editrefs.js'); //[[User:Dr_pda/editrefs.js]]
importScript('User:Gary King/nominations viewer.js'); // [[Wikipedia:Nominations Viewer]]
importScript('User:Gary King/reviewer summary.js'); // [[Wikipedia:Reviewer Summary]]