Don't use $wgTitle

Change-Id: Ida200feb24275c1bbf46ed6348e56f50b10a5aa3