Forum:AddZeroEditSectionLink

I have this code i copy from an asian wiki inwikia and tweak a some time ago // ***************************************************************** //  Adds 0 edit Link beside the title if ( skin != 'answers' || wgAction != 'view' ) addOnloadHook(addZeroEditSectionLink); if (!window.$G){	window.$G = YAHOO.util.Dom.get;} function addZeroEditSectionLink{ switch( wgNamespaceNumber ) { case '-1': case '2': case '3': return; }	var s = $T.create('span', {'class':'editsection',style:'float:none;position:absolute;'}); var a = $T.create('a', {href: wgScript+'?title='+wgPageName+'&action=edit&section=0', title:'Editar la sección inicial'}, 'editar'); $T.makeChildren([document.createTextNode('['),a,document.createTextNode(']')],s); (document.getElementById('content')||document.getElementById('article')).getElementsByTagName('h1')[0].appendChild(s); }

But im having issues as when im at answers.wikia.com (tested in ES and EN languages) and use the FastDelete button it gets stall at the delete page and have to manually click "delete" button, so wonder if some one could help me by telling me whats wrong btw i dont know where is $T comming but i change it to other letters same problem and try to change it to $G and answers gets stall in a loading loop and the other of my funtions dont load unless this one is not loaded due to the namespace. And if its possible improve it to jquery? --


 * Tried w:c:dev:EditIntroButton? 20:29, January 27, 2010 (UTC)
 * Yes, that adds another button to my already crowd "page bar" hence why i don't favor it --
 * Or w:c:dev:EditIntroButton2. Grunny  ( Talk ) 01:40, February 4, 2010 (UTC)