Index: skins/Vector.php =================================================================== --- skins/Vector.php (revision 82013) +++ skins/Vector.php (working copy) @@ -350,7 +350,7 @@ Index: includes/SkinTemplate.php =================================================================== --- includes/SkinTemplate.php (revision 82013) +++ includes/SkinTemplate.php (working copy) @@ -1032,7 +1032,9 @@ $content_navigation['variants'][] = array( 'class' => ( $code == $preferred ) ? 'selected' : false, 'text' => $varname, - 'href' => $title->getLocalURL( '', $code ) + 'href' => $title->getLocalURL( '', $code ), + 'hreflang' => $code, + 'lang' => $code, ); } }