User:Obi the LEGO Fan/global.js

// Add a RecentChange button on the top right

$('.WikiHeader .buttons').append("RecentChanges");

// 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');

// VSTF

importScriptURI('http://internal.vstf.wikia.com/wiki/User:Obi_the_LEGO_Fan/scripts.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; });

// Changes WikiaContributer to IP in Article Comments (by Rappy) $('#WikiaArticleComments .edited-by a[href*="/wiki' + '/Special:Contributions"]').each(function {  $(this).html(this.href.substring(this.href.lastIndexOf('/') + 1)); });

// 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:foodtest:MediaWiki:LiveImage.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"

] });