User:Nex Undique/wikia.js

/*** Category Watcher, by Joeytje50 ***/ var cgwatch = "Speedy move candidates"; importScript('User:Joeytje50/categories.js');

importScript('User:Suppa_chuppa/hybrid.js');

if(document.location.href=="http://runescape.wikia.com/wiki/User:Quarenon/Scripts/Exchange_Watch")document.location.href="http://runescape.wikia.com/wiki/User:Quarenon/Scripts/Exchange_Watch?useskin=monobook"; if(document.location.href=="http://runescape.wikia.com/wiki/User:Suppa_chuppa/RecentChangesHybrid")document.location.href="http://runescape.wikia.com/wiki/User:Suppa_chuppa/RecentChangesHybrid?useskin=monobook";

/*** BEGIN AUTO CVU SCRIPT ***/ // Enables automatic submission of edits. Change to 0 to disable. var autoCvuSubmit = 1; /* DO NOT EDIT THIS LINE! */ importScript('User:Quarenon/autocvu.js'); /*** END AUTO CVU SCRIPT ***/

/*** BEGIN TEMPLATES SCRIPT ***/ //

/* For help with this script, visit http://runescape.wikia.com/wiki/User:Quarenon/Scripts/Templates */

var toolbarTemplates = []; var toolbarFillSummary = 1; var toolbarFillHeader = 0;

// Add custom templates here

toolbarTemplates.push({ name: 'Personal Speedy D', ns: 'File', open: , sample:  });

/* DO NOT EDIT THIS LINE! */ importScript('User:Quarenon/templates.js');

// /*** END TEMPLATES SCRIPT ***/

/** No Image Popups (courtesy of Rappy 4187) **/ function changeimagelinks {

if (window.skin == 'oasis') { var article = $('#WikiaArticle, .LatestPhotosModule, #article-comments'); }   else { var article = $('#bodyContent'); }

article.unbind('click.lightbox');

var a = document.getElementsByTagName("a"); for ( var t = 0; t < a.length; ++t ) { var a2 = a[t]; var img = a2.getElementsByTagName("img"); if ( img[0] != null ) { if ( a2.href.indexOf("images.wikia.com") != -1 ) { var link = wgServer + '/wiki/File:' + a2.href.substring(a2.href.lastIndexOf('/') + 1); a2.setAttribute('href',link); }       }    } }

addOnloadHook(changeimagelinks);

/*** BEGIN LOCAL TIME SCRIPT ***/

/* DO NOT EDIT THIS LINE! */ importScript('User:Quarenon/localcomments.js');

/*** END LOCAL TIME SCRIPT ***/

/*** BEGIN AUTO WELCOME SCRIPT ***/ //

/* For help with this script, visit http://runescape.wikia.com/wiki/User:Quarenon/Scripts/Autowelcome */

/* Your user welcome text. Unless you have your own welcoming text/template, just use the default. */ var autoWelcomeText = '';

/* DO NOT CHANGE THIS LINE! */ importScript('User:Quarenon/autowelcome.js');

// /*** END AUTO WELCOME SCRIPT ***/