$wgLanguageCode goes with $wgContLang, not $wgLang. This was breaking ApiBlockTest...