rewrite local links with leading slash

This doesn't yet support rewriting from MediaWiki piped link syntax