User:Shell Kinney/monobook.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:Shell Kinney/monobook.css. |
//Twinkle
importScript('User:AzaToth/twinkle.js');
//Lupin's recent changes scripts
importScript('User:Lupin/recent2.js');
// [[User:Dschwen/highlightredirects.js]] - Redirect highlights
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Dschwen/highlightredirects.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
importScript('User:Alex Smotrov/wlunwatch.js');
// [[User:Henrik/afc-helper]] - easy decline AfC
importScript('User:Henrik/js/afc-helper.js');
//Quickpreview
importScript('User:Sander Säde/quickpreview.js');
//Wikierrors Advisor
importScript('User:Cameltrader/Advisor.js');
//Wachlist User's contributions
importScript('User:Tra/usewatchlist.js');
//Newpages patrol
importScript('User:TheJosh/Scripts/NewPagePatrol.js');
//Hook ISBN links to Googlebooks
function externISBN() {
var magicURL = "http://books.google.com/books?as_isbn=MAGICNUMBER";
var magicRegex = /MAGICNUMBER/ig;
if(wgPageName != "Special:Booksources" && wgPageName != "Wikipedia:Book_sources"){
for (var i = 0; i < document.links.length; i++) {
if( document.links[i].href.match(/isbn=(.*)/) ) {
document.links[i].href=magicURL.replace(magicRegex, RegExp.$1);
}
}
}
}
addOnloadHook(externISBN);
//Prettify logs - see [[User talk:Alex Smotrov/logpage.js]] for css tags
importScript('User:Alex Smotrov/logpage.js');
//Quick stub categorization
importScript('User:Ais523/stubtagtab2.js');
//Friendly twinkle
importScript('User:Ioeth/friendly.js');
FriendlyConfig = {
watchWelcomes : false,
markWelcomesAsMinor : false,
watchTaggedPages : false,
quickWelcomeMode : "semiauto"
};
// [[User:Steel359/protection.js]]
importScript('User:Steel359/protection.js');
//Status Changer
importScript('User:Voice_of_All/Addtabs/monobook.js');
importScript('User:Misza13/statusChanger.js');
// Make Project cats go to article instead of talk
function catSwapButton() {
if(document.title.indexOf('Category:' == 0)) {
addPortletLink('p-cactions','javascript:catSwap();','De-Talkify','ca-catswap','change category links from talk pages to article pages');
}
}
addOnloadHook(catSwapButton)
function catSwap() {
var cat = document.getElementById('mw-pages');
cat.innerHTML = cat.innerHTML.replace(/Talk\:/g,'').replace(/[_\s]talk\:/g,':');
}
//FUR helper
importScript('User:AWeenieMan/furme.js');
//Spell checker
importScript('User:Wmahan/wpspell.js');
//Link checker
importScript('User:Dispenser/Link checker/toolbox.js');
//Afd helper
importScript('Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js');