User:RansomTime/global.js

// Changes useless fandom.com link to RC $(function {	document.getElementsByClassName("wds-global-navigation__logo")[0].href = "https://" + mw.Uri.host + "/wiki/Special:RecentChanges"; });

// Automatically redirects forks

$(function {   var url = window.location.href;    if (url.search("oldschoolrunescape.fandom.com/wiki/") > 0) {        url = url.replace("oldschoolrunescape.fandom.com/wiki/","oldschool.runescape.wiki/w/");    } else if (url.search("runescape.fandom.com/wiki/") > 0) {       url = url.replace("runescape.fandom.com/wiki/","runescape.wiki/w/");    }     if(url !== window.location.href) {        window.location.href = url;    } });

window.ajaxPages = ["Special:RecentChanges","Special:NewPages"]; importScriptPage('MediaWiki:ReplyBottom/code.js', 'dev');

importScriptURI('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js' + '&action=raw&ctype=text/javascript');

// Changes WikiaContributer to IP in Article Comments // @Author Rappy

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