Directly use Language::factory instead of wfGetLangObj