Do not use removed title method escapeLocalUrl

Fixes fatal when used with MediaWiki master.