fixed quoting issues with wiki links, fixed duplicate .w