Jump to content

User:Shell Kinney/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Shell Kinney (talk | contribs) at 16:19, 26 February 2008 (more). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//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);
//Watchlist Sorter - see [[User:Cacycle/watchlistSorter]] for css tags
importScript('User:Cacycle/watchlistSorter.js');
//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');