User:Dan0 00/monobook.js

/* function addTab(id, after, caption, url) { if (!document.getElementById(id)) { var edit = document.getElementById(after); if (!edit) return; //If the previous tab doesn't exist, don't add this one var editparent = edit.parentNode; //+   var aseclinkcaption = document.createTextNode(caption) //'' var aseclink = document.createElement('a'); aseclink.setAttribute('href',url); var addsectionlinkcaption = aseclink.appendChild(aseclinkcaption); //'' var asec = document.createElement('li'); asec.setAttribute('id',id); var addsectionlink = asec.appendChild(aseclink); var addsection = editparent.insertBefore(asec,edit.nextSibling); } }

function addEditSection { var arti = mw.config.get('wgPageName'); addTab("ca-editfirst", 'ca-edit', '0', mw.config.get('wgScriptPath')+"/index.php?title="+escape(arti)+"&action=edit&section=0"); addTab("ca-addsection", 'ca-edit', '+', mw.config.get('wgScriptPath')+"/index.php?title="+escape(arti)+"&action=edit&section=new"); } if (window.addEventListener) window.addEventListener("load",addEditSection,false); else if (window.attachEvent) window.attachEvent("onload",addEditSection); /*

// User:Lupin/popups.js

mw.loader.load(            'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'             + '&action=raw&ctype=text/javascript&dontcountme=s');