Fix for reopened bug MDL-7878, "Link identification and skipping" - includes site and course index.php.