From 78f103fdeca8631787680eb0dd17b4af8fdec7c4 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Thu, 13 Nov 2014 22:43:52 +0000 Subject: [PATCH] WebInstallerOutput: Apply wfBCP47() to lang attribute Change-Id: I7dce46380f56ff2960de7f6d9644c4cdc972a372 --- includes/installer/WebInstallerOutput.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ), ); } -- 2.20.1