All anchors lost their fragments

Title::getLocalURL is not guaranteed to be a valid link
from the current page.  Additionally getLocalURL does not
include the fragment.

Convert all instances of Title::getLocalURL to Title::getLinkURL

Change-Id: Id7d78a40777ade6dc3d2b0067121d0f0308e5490