Gerrit Patch Uploader has uploaded a new change for review.
https://gerrit.wikimedia.org/r/173187
Change subject: WebInstallerOutput: Apply wfBCP47() to lang attribute
......................................................................
WebInstallerOutput: Apply wfBCP47() to lang attribute
Change-Id: I7dce46380f56ff2960de7f6d9644c4cdc972a372
---
M includes/installer/WebInstallerOutput.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/87/173187/1
diff --git a/includes/installer/WebInstallerOutput.php
b/includes/installer/WebInstallerOutput.php
index 3094d55..22fb1df 100644
--- a/includes/installer/WebInstallerOutput.php
+++ b/includes/installer/WebInstallerOutput.php
@@ -227,7 +227,7 @@
public function getHeadAttribs() {
return array(
'dir' => $this->getDir(),
- 'lang' => $this->getLanguageCode(),
+ 'lang' => wfBCP47( $this->getLanguageCode() ),
);
}
--
To view, visit https://gerrit.wikimedia.org/r/173187
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7dce46380f56ff2960de7f6d9644c4cdc972a372
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Gerrit Patch Uploader <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits