User:Suaveness/sectionlink.js

$('.mw-headline').each(function(i){       name1 = $(this).attr('id');        ht = $(this).text;        grou = ht.match(/[\.A-F0-9]+/g);        if(grou !== null){        	$.each(grou, function{ arr = this.replace(/\./g,'>'); name1 = name1.replace(this,arr); });       }        name1 = name1.replace(/\.([A-F0-9][A-F0-9])/g, '%$1').replace(/>/g,'.');        $(this).before('', '&gt;').replace('"', '&quot;').replace("'", "&apos;") + '" />');    }); })(jQuery);
 * (function($){