Replace usage of deprecated Title::escapeLocalURL()

Change-Id: I9c51f6d112b476390d5033eae4912c700fd45663
Merge "Replace usage of deprecated Title::escapeLocalURL()"