Use re instead of string replace to construct wiki URL.