User:Lil' Miss Rarity/global.js

var missy = {};

missy.scripts = [ "u:c:User:Prince(ss)_Platinum/vda.js", "u:cpw:MediaWiki:Gadget-HotCat.js", "u:dev:AjaxRC/code.js", "u:dev:AjaxUndo/code.js", "u:dev:MarkForDeletion/code.js", "u:dev:PortableCSSPad/code.js", "u:dev:QuickCreateUserPage/code.js", "u:dev:QuickTools/advanced.js", "u:dev:RevealAnonIP/usercode.js", "u:dev:WHAM/code.js", "u:princess-platinum-test:MediaWiki:Stuff.js" ];

missy.highlightAnons = function {

var ip = /\d{2,3}\.\d{2,3}\.\d{2,3}/;

$(".mw-userlink").each(function {

var text = $(this).text; if (text.match(ip)) {

$(this).css("background", "yellow"); }   }); };

$(function {

window.ajaxPages = ["Special:RecentChanges","Special:Watchlist","Special:Log","Special:Contributions"]; window.ajaxCallAgain = window.ajaxCallAgain || []; window.ajaxCallAgain.push(missy.highlightAnons);

var qtUserPageTemplate = ""; var qtEnableUserPageOverwrite = true;

importArticles({       type: "script",        articles: missy.scripts    });

if (wgPageName.indexOf("Special:MovePage/File:") != -1 || (wgCanonicalNamespace == "File" && Storage)) { importScriptPage("FileUsageAuto-update/code.js/min.js", "dev"); }   missy.highlightAnons; });