Replace usage of deprecated Title::escapeLocalURL()

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