Replace usage of deprecated Title::escapeLocalURL()

Change-Id: I1f834c00afb06a667e154ecd3af9b8655e5a7de3