Replace usage of deprecated Title::escapeLocalURL()

Change-Id: I0b3e81cd9bebb0f992e2535dad542cf8518c8a08
Migrate to JSON i18n

Procedure per https://www.mediawiki.org/wiki/Manual:GenerateJsonI18n.php
with shim.

Change-Id: I333dd9d5ecec5282a9ecdd166e4a76d3f7e8477f