Remove $wgTitle usage

Change-Id: Iff477668a4ab7a3aa0a10c6768dd1a297333f775