User:Manishearth/scriptlinks.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 57:
p = encodeURIComponent(h3.replace(q, "$1").replace(/[_\s]+/g, "_")).replace(/%2F/g, "/");
s.innerHTML = quo + '<a href=\"' + wgArticlePath.replace("$1", p) + '\">' + h4.replace(q, "$1") + '</a>' + quo;
}else{ continue;}
}
}
}