FANDOM


var d = new Date(); addOnloadHook(reminder); function reminder() {

 if(d.getMonth()!=5||d.getDate()!=1){return;}
 var searchBox = document.getElementById("WikiaSearch").getElementsByTagName("input")[0];
 searchBox.placeholder="userreminder";
 searchBox.style.background="#FFAAAA";

}

function removeWLHlinks() {

 if(wgCanonicalSpecialPageName=='Whatlinkshere')
 {

/* Removes the "(links)" thing (or whatever) from entries to WLH pages */

   var links = getElementsByClassName(document, 'span', 'mw-whatlinkshere-tools');
   var editLinks = getElementsByClassName(document, 'span', 'mw-whatlinkshere-edit');
   for(var i=0; i < links.length; i++)
   {
     links[i].parentNode.removeChild(links[i]);
     editLinks[i].parentNode.removeChild(editLinks[i]);
   }

/* Makes links on WLH pages go straight to edit page */

   var links = document.getElementById("mw-whatlinkshere-list").getElementsByTagName('li');
   for(var i = 0; i<links.length; i++)
   {
     aLink = links[i].getElementsByTagName('a');
     aLink[0].href+="?action=edit";
   }
 }

} addOnloadHook(removeWLHlinks);

if(wgAction=="edit"){ function autoFix() {

 var e = document.getElementById("wpTextbox1");
 var s = e.innerHTML;
 s = replaceAll(

var oldSig = new Arary(); var newSig = new Arary();

oldSig[0] = "Tia-Lewise15px" newSig[0] = "Tia-Lewise15px"

oldSig[1] = "ScatheMote" newSig[1] = "ScatheMote"

oldSig[2] = "Leon95" newSig[2] = "Leon95"

oldSig[3] = "+DeadlySlashSword+" newSig[3] = "+DeadlySlashSword+"

oldSig[4] = "Fëasindë Peth " newSig[4] = "Fëasindë Peth"

oldSig[5] = "20px Flüstergras" newSig[5] = "20px Flüstergras"

 for(var i = 0; i < oldSig.length;i++)
 {
   var o = 
   var n = 
   s = replaceAll(oldSig[i],newSig[i]);
 }
 s = replaceTagString(s,"s","del");
 s = replaceTagString(s,"strike","del");
 e.innerHTML = s;

}

function fixString(i) {

 o = replaceAll(i,"<","<");
 o = replaceAll(o,">",">");
 return o;

}

function replaceTagString(s,i,o) {

 return s.split("<" + i + ">").join("<" + o + ">").split("</" + i + ">").join("</" + o + ">")

} function replaceAll(s,i,o) {

 return s.split(i).join(o);

}

addOnloadHook(autoFix);}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.