Adds correct links to namespace pages.