Remove $wgTitles from all over the place

Change-Id: I7c88729308ced602144f90bf0951aadbb6ecfe66