Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
// This will add an [edit top] link at the top of all pages except preview pages// by User:Pile0nadessetTimeout("editTopLink()",0)// this is equivalent of onloadfunctioneditTopLink(){// if this is preview page or generated page, stopif(document.getElementById("wikiPreview")||window.location.href.indexOf("w/index.php?title=Special:")!=-1)return;// get the page titlevarpageTitle=document.title.split(" - ")[0].replace(" ","_");// create div and set innerHTML to linkvardivContainer=document.createElement("div");divContainer.innerHTML='<div class="editsection" style="float:right;margin-left:5px;margin-top:3px;">[<a href="/w/index.php?title='+pageTitle+'&action=edit§ion=0" title="'+document.title.split(" - ")[0]+'">edit top</a>]</div>';// insert divContainer into the DOM before the h1varcontent=document.getElementById("content");if(content)content.insertBefore(divContainer,document.getElementsByTagName("h1")[0]);}//RFC 3339 in sig//by User:BblackmoorfunctionsigFix(){vartoolbar=document.getElementById("toolbar");if(toolbar)toolbar.innerHTML=toolbar.innerHTML.replace('--~~'+'~~',' -- [[User:Jeandré|Jeandré]], {{subst'+':CURRENTYEAR}}-{{subst'+':CURRENTMONTH}}-{{subst'+':CURRENTDAY2}}[[User talk:Jeandré|t]]{{subst'+':CURRENTTIME}}z');}functionreformatMyPage(){sigFix();}if(window.addEventListener)window.addEventListener("load",reformatMyPage,false);elseif(window.attachEvent)window.attachEvent("onload",reformatMyPage);