User:AmandaNP/mod-culog-links.js

//Stolen from: User:ST47/cu-log-links.js if (window.location.href.indexOf("Special:CheckUserLog") > -1) { mw.loader.using('mediawiki.util', function {		$('a.mw-anonuserlink').each(function { var addr = $(this).text; var pattern = /^((\d{1,3}\.){3}\d{1,3}|([\da-f]{0,4}:){1,7}[\da-f]{0,4})(\/\d{1,3})?$/i; if (pattern.test(addr)) { var append = ' (contribs | WHOIS/alt | Geolocate | RBF)'; $($.parseHTML(append)).insertAfter($(this)); }		});	}); }