User:ST77/TScripts/0/monobook.js

addOnloadHook(function { var x=document.getElementById('ca-history');  if(x!=null)    mw.util.addPortletLink('p-cactions', mw.config.get('wgServer')+mw.config.get('wgScript')+"?title="+encodeURIComponent(mw.config.get('wgPageName'))+ "&action=edit&section=0", '0', 'ca-edit-0', 'Edit the lead section of this page', '0', x); });