Follow-up r79880: check if $wgLang can be used.