Replace usage of deprecated Title::escapeLocalURL()

Change-Id: I0c9af08da2a5da75a2fbeed0b9285a1472f89cd9