Don't use $wgTitle

Change-Id: I92195a67dfc7cee0a9498b351c79c98258ff2b11