Replace usage of deprecated Title::escapeLocalURL()

Change-Id: Ib58af87bebbbe5a5a8b7979e26ea2bc97ee2d342
Migrate to JSON i18n

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

Change-Id: I37debd680db45d32aae9e3a75a6661d4484ba222