Add additional query to get page url

Its annoying I can't do this in one query but this should fix all the
issues with mediawiki version differences.