Replace usage of deprecated Title::escapeLocalURL()

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