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. |
importScript('User:AzaToth/twinkle.js'); //Twinkle
importScript('User:Lupin/recent2.js'); //Lupin's recent changes scripts
importScript('User:Lupin/popups.js'); //Lupin's Popups
importScript('User:AWeenieMan/furme.js'); //FUR helper
importScript('User:Wmahan/wpspell.js'); //Spell checker
importScript('User:Magnus Manske/LinkFixr.js'); //Adding link fixer to toolbox
importScript('User:Henrik/js/afc-helper.js'); //AfC helper
importScript('User:Sander Säde/quickpreview.js'); //Quickpreview
importScript('User:Cameltrader/Advisor.js'); //Wikierrors Advisor
importScript('User:Mr.Z-man/patrollinks.js'); //Newpage patrol links in list
importScript('User:Alex Smotrov/logpage.js'); //Prettify logs - see [[User talk:Alex Smotrov/logpage.js]] for css tags
importScript('User:Ais523/stubtagtab2.js'); //Quick stub categorization
importScript('User:Steel359/protection.js'); //[[User:Steel359/protection.js]]
importScript('User:Betacommand/compare.js'); //User Socks Compare
importScript('User:Ais523/votesymbols.js'); //Highlight Votes
importScript('User:Mr.Z-man/hideClosedAFD.js'); //Hide Closed AFDs
importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');
importScript('Wikipedia:WikiProject Deletion sorting/delsort.js');
importScript('User:Quarl/util.js');
importScript('User:Quarl/wikipage.js');
importScript('Wikipedia:WikiProject User scripts/Scripts/CloseAFD.js'); //Afd helper
//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);
//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,':');
}
// [[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');
importScript('User:AndyZ/peerreviewer.js'); //[[User:AndyZ/peerreviewer.js]]