Follow-up d25a944635: fix PHP notice
[lhc/web/wiklou.git] / includes / Setup.php
index 0be5c6e..68e3d96 100644 (file)
@@ -811,7 +811,7 @@ $wgUser = RequestContext::getMain()->getUser(); // BackCompat
 /**
  * @var Language $wgLang
  */
-$wgLang = RequestContext::getMain()->getLanguage(); // BackCompat
+$wgLang = new StubUserLang;
 
 /**
  * @var OutputPage $wgOut