Merge "refreshLinks.php: Fix deletion of link entries from nonexistent pages"