Don't use $wgTitle

Change-Id: I9a67452a06e6512d30606ea9b99e48e153ba701d