From: Fomafix Date: Thu, 13 Nov 2014 22:43:52 +0000 (+0000) Subject: WebInstallerOutput: Apply wfBCP47() to lang attribute X-Git-Tag: 1.31.0-rc.0~13278^2 X-Git-Url: http://git.cyclocoop.org//%22%22._DIR_PLUGIN_FULLCALENDAR.%22prive/themes/spip/images/event_edit.png/%22?a=commitdiff_plain;h=78f103fdeca8631787680eb0dd17b4af8fdec7c4;p=lhc%2Fweb%2Fwiklou.git WebInstallerOutput: Apply wfBCP47() to lang attribute Change-Id: I7dce46380f56ff2960de7f6d9644c4cdc972a372 --- diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index 3094d5571b..22fb1df2f3 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -227,7 +227,7 @@ class WebInstallerOutput { public function getHeadAttribs() { return array( 'dir' => $this->getDir(), - 'lang' => $this->getLanguageCode(), + 'lang' => wfBCP47( $this->getLanguageCode() ), ); }