User:Kzollman/monobook.js

function addRefsLinks(btn) { var pageTitle=document.getElementsByTagName('h1')[0].innerHTML; var lks=document.links; for (var i=0; i<lks.length; ++i) { var article=articleFromURL(lks[i].href); if(!article) continue; var talk=null; if (!userName(article)) continue; talk=talkPage(article); if(!talk) continue; var a=document.createElement('a'); a.href=titlebase + talk + '&action=edit&autoedit=s#$#\n==Sources for ' + pageTitle + '== Hello, good work on ' +     pageTitle +       ', and thanks for the contribution. However, you did not provide any references or sources in the article. Keeping Wikipedia accurate and verifiable is very important, and as you might be aware there is currently a push to encourage editors to cite the sources they used when adding content. Can you list in the article any websites, books, or other sources that will allow people to verify the content in ' +     pageTitle +       '? You can simply add links, preferably as the inline citations, or see citation templates for different citation methods. Thanks! best, kevin [kzollman][talk] 03:43, 12 December 2005 (UTC)#&autoclick=' + btn + '&autosummary=References for '+     pageTitle+      ''; var tt=document.createTextNode(' . . '); a.innerHTML='request references'; lks[i].parentNode.appendChild(tt); lks[i].parentNode.appendChild(a); } }

var refs=addRefsLinks;

//Interiot's javascript edit counter if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) { mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }