Fix to pages links

In the pages page of the wiki of a project you have links to all the wiki pages that are created. These links are to the first version of the created page and not the current version of the page. 

This patch changes the links to the last version of the page instead of the first created version.