Fix REVIKI-491

The problem was that the link text (the title) was being checked, rather than the target, and so if a page didn't exist, and the title was in block capitals, Reviki decided it wasn't a real link.