MediaWiki:Miscellaneous.js

/////////////////////////////////////////////////////////////////////////// /***************************** Miscellaneous *****************************/ /////////////////////////////////////////////////////////////////////////// /* Replaces with the name of the user browsing the page */ function UserNameReplace { if(typeof(disableUsernameReplace) != "undefined" && disableUsernameReplace || wgUserName == null) return; $("span.insertusername").html(wgUserName); } addOnloadHook(UserNameReplace);//End replacement*/

/* Rail Priority */ $(function {   mw.hook("DiscordIntegrator.added").add(function { $(".DiscordIntegratorModule").appendTo("#WikiaRail"); }); });//End RP*/