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.
// From en:User:Lupin/autoedit.jsfunctiongetParamValue(paramName){varcmdRe=RegExp('[&?]'+paramName+'=([^&]*)');varh=document.location;varm=cmdRe.exec(h);if(m){try{returndecodeURIComponent(m[1]);}catch(someError){}}returnnull;}document.write('<script type="text/javascript" src="/w/index.php?title=MediaWiki:Quick-delete.js&action=raw&ctype=text/javascript"><\/script>');//[[MediaWiki talk:Quick-delete.js]]document.write('<script type="text/javascript" src="'+'http://commons.wikimedia.org/w/index.php?title=MediaWiki:DeleteKeep.js'+'&action=raw&ctype=text/javascript&dontcountme=s"><\/script>');//[[MediaWiki:DeleteKeep.js]]mw.loader.load('https://commons.wikimedia.org/w/index.php?title=MediaWiki:UserMessages.js'+'&action=raw&ctype=text/javascript');//[[MediaWiki talk:UserMessages.js]]// Add an [edit] link to pages$(function(){// if this is preview page or generated page, stopif(document.getElementById("wikiPreview")||window.location.href.indexOf("/wiki/Special:")!=-1)return;// if this is a revision history, stopif(document.getElementById("histlegend")||window.location.href.indexOf("/wiki/Special:")!=-1)return;// if this is a diff page, stopif(document.getElementById("difference")||window.location.href.indexOf("/wiki/Special:")!=-1)return;// if this is a watchlist, stopif(document.getElementById("watchdetails")||window.location.href.indexOf("/wiki/Special:")!=-1)return;// if this is the main page, stopif(document.getElementById("mainpage")||window.location.href.indexOf("/wiki/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-right:0px;margin-top:47px;">[<a href="/w/index.php?title='+pageTitle+'&action=edit§ion=0" title="'+document.title.split(" - ")[0]+'">edit</a>]</div>';// insert divContainer into the DOM below the h1if(window.location.href.indexOf("&action=edit")==-1)document.getElementById("content").insertBefore(divContainer,document.getElementsByTagName("h1")[0]);if(window.location.href.indexOf("&action=edit§ion=0")!=-1)document.getElementById("wpSummary").value="/* Intro */ ";});// document.write('<script type="text/javascript" src="'+'http://commons.wikimedia.org/w/index.php?title=MediaWiki:Delete.js'+'&action=raw&ctype=text/javascript&dontcountme=s"><\/script>');//[[MediaWiki:Delete.js]]mw.loader.load('https://commons.wikimedia.org/w/index.php?title=MediaWiki:DeleteLinking.js'+'&action=raw&ctype=text/javascript');//[[MediaWiki:DeleteLinking.js]]mw.loader.load('https://commons.wikimedia.org/w/index.php?title=MediaWiki:DeleteKeep.js'+'&action=raw&ctype=text/javascript');//[[MediaWiki:DeleteKeep.js]]document.write('<script type="text/javascript" src="'+'http://commons.wikimedia.org/w/index.php?title=User:Polarlys/quickbar.js'+'&action=raw&ctype=text/javascript&dontcountme=s"><\/script>');//[[User:Polarlys/quickbar.js]]//