Small refactor of link-wikify code to make it more readable
Relative links start with ../ so that [[ Sherry ]] can link to /pages/Sherry/