Don't use $wgTitle when there's valid ones on hand

Change-Id: Ia35329fb9dc481bd329634e6b711318a676c761c