Content deleted Content added
Manishearth (talk | contribs) No edit summary |
Manishearth (talk | contribs) No edit summary |
||
Line 45:
if(s.className != "st0") continue;
else if(h.match(/"([^"]+)"/)) {
q = /"([^"]+)"g/;
quo='"'
}else if(h.match(/'([^']+)'/)) {
q = /'([^']+)'/g;
quo="'"
}else continue;
var h2=h+"";
p = encodeURIComponent(h.replace(q, "$1").replace(/[_\s]+/g, "_")).replace(/%2F/g, "/");
s.innerHTML = quo + '<a href="' + wgArticlePath.replace("$1", p) + '">' +
}
}
|