Hacker News new | past | comments | ask | show | jobs | submit login

"https://en.wikipedia.org/wiki/" + encodeURIComponent(title.replace(/ /g, '_'))



That’s better to avoid a redirect, but both work.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: