WebInstallerOutput: Apply wfBCP47() to lang attribute
[lhc/web/wiklou.git] / includes / installer / WebInstallerOutput.php
index 3094d55..22fb1df 100644 (file)
@@ -227,7 +227,7 @@ class WebInstallerOutput {
        public function getHeadAttribs() {
                return array(
                        'dir' => $this->getDir(),
-                       'lang' => $this->getLanguageCode(),
+                       'lang' => wfBCP47( $this->getLanguageCode() ),
                );
        }