User:Cblair91/global.js

/* toolbar links JavaScript */

if(wgNamespaceNumber != 401 && !window.ToolbarLinksLoad) addOnloadHook(addToolbarLinks); var ToolbarLinksLoad = true;

function addToolbarLinks { $('JS').appendTo('ul.tools'); $('CSS').appendTo('ul.tools'); $('Logs (RecentChanges | NewUsers | Abuse</a>)</li>').appendTo('ul.tools'); }

/* Define variables! */ var cg = ['Speedy deletion candidates', 'Speedy move candidates']; /* Categories to watch */ var excludeuser = "Cblair91"; /* what users to exclude from category notifier */ var autoWelcomeText = ''; /* auto welcome text */

/* Chat JavaScript */ if(wgPageName == "Special:Chat") importScript('w:c:runescape:User:Cblair91/chat.js'); /* My chat javascript on RSW */

/* Include all the useful goodies! */ importArticles({   type: "script",    articles: [        "User:Cblair91/common.js", /* If it exists of course :P */        "w:c:runescape:MediaWiki:Common.js/ajaxrefresh.js", /* Auto refresh */        "w:c:runescape:User:Cblair91/watchlist.js", /* Watch list notifier */        "w:c:runescape:User:Cblair91/categories.js", /* Category notifier */        "w:c:runescape:Joeytje50/dupes.js", /* Duplicate file detetion */        "w:c:runescape:Quarenon/autowelcome.js" /* Auto welcome for talk pages */    ] });