User:Technical 13/common.js

/* Fix for Shades misspelling of Mjoll */ $('a[title^="User:Mjol"]').each(function {   this.innerHTML = this.innerHTML.replace("User:Mjoll", "User:Mjol");    this.innerHTML = this.innerHTML.replace("User:Mjol", "User:Mjoll");    this.title = this.title.replace("User:Mjol (page does not exist)", "User:Mjoll");    this.href = this.href.replace("/edit/User:Mjol?redlink=1", "/page/User:Mjoll"); });

/* Temporary name change mechanic until Extension:User Merge and Delete properly updates the edit count */ $('h1[id^="title"]').each(function {   this.innerHTML = this.innerHTML.replace("User:Technical 13", "User:ShoeMaker"); }); $('a[href^="/page/User:Technical_13"]').each(function {   this.innerHTML = this.innerHTML.replace("Technical 13", "ShoeMaker"); });

/* Testing making only edits on my watchlist in the list minute bold */ function CurrentTime {   var timeNow=new Date; var h=timeNow.getHours; var m=timeNow.getMinutes; m--; } var PostTime = document.div.mw-enhanced-rc.innerHTML; var PostTime = PostTime.replace("    ",""); var PostTime = PostTime.replace(" ",""); var PostTime = PostTime.split(":",2); if (PostTime[0] == h && PostTime[1] >= m) { $('div.mw-enhanced-rc').css({fontWeight: 'bold', fontSize: '12pt'}); }