User:Kuby101's Bot/global.js

// Changing the file's name, so it DOESN'T MOVE! if (wgCanonicalSpecialPageName == "Movepage") { $('.WikiaPageHeader h1').text('Renaming a file') $('.AdminDashboardGeneralHeader h1').text('Renaming a file') } // List Admins quick link $('#my-tools-menu').prepend(' List Admins'); // Red link fixer V2 $.getScript('https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/WantedPagesBatchRedlinks.js'); // Torus importScriptURI('http://monchbox.wikia.com/wiki/MediaWiki:Torus.js?action=raw&ctype=text/javascript&templates=expand'); // Anon highlight (By Lil' Miss Rarity) function highlightAnons { //IP regular expression var ip =/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/; //Check if user is anon and highlight $(".mw-userlink").each(function {       var text = $(this).text;        if (text.match(ip)) {            //Highlight            $(this).css("color", "#848484");        }    }); } $(document).ready(function {   highlightAnons; }); // Imports window.ajaxPages = ["Special:RecentChanges", "Special:NewPages", "Special:WikiActivity", "Special:AbuseLog", "Spécial:Modifications_récentes", "Especial:Mudanças_recentes", "Natatangi:Mga_huling_binago"]; window.ajaxCallAgain = window.ajaxCallAgain || []; window.ajaxCallAgain.push(highlightAnons); OFPoptions = {'showlinks': false}; var autoWelcomeText = ''; importArticles({   type: "script",    articles: [        // Useful buttons        "u:c:User:Jr Mime/buttons.js",        // Advanced tools        "w:c:dev:QuickTools/advanced.js",        // Auto RC        "w:c:dev:AjaxRC/code.js",        // Undo+        "w:c:rs:User:Suppa_chuppa/undoplus.js",        // Template button        "w:c:mlp:User:Jr Mime/MarkForTemplate/General.js",        // Kill Tool        "w:c:answers:User:The Mol Man/Annihilate.js",        // HotCat        "w:c:answers:MediaWiki:Gadget-HotCat.js",        // WHAM        "w:c:dev:WHAM/code.js",        // File uglyness fix        "w:c:dev:NoImageLightbox/code.js",        // CSS pad        "w:c:dev:PortableCSSPad/code.js",        // Cache script        "w:c:dev:CacheCheck/code.js",        // Old files        "w:c:dev:OldFilePages/code.js",        // File Usage Auto update        "w:c:dev:FileUsageAuto-update/code.js",        // Mini Complete "w:c:dev:MiniComplete/code.js", // Category Rename Auto Update "w:c:dev:CategoryRenameAuto-update/code.js", // Auto Welcome (static please) "w:c:rs:User:Quarenon/autowelcome.js" ] });