dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix various language tags used in Html attribs to use wfBCP47()
[lhc/web/wiklou.git]
/
includes
/
OutputPage.php
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
3657ac3
..
96a503e
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-3215,7
+3215,7
@@
$templates
foreach ( $variants as $_v ) {
$tags["variant-$_v"] = Html::element( 'link', array(
'rel' => 'alternate',
- 'hreflang' =>
$_v
,
+ 'hreflang' =>
wfBCP47( $_v )
,
'href' => $this->getTitle()->getLocalURL( array( 'variant' => $_v ) ) )
);
}