Merge "Add a class to the <a> element of the interlanguage link"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 2 Oct 2016 08:41:40 +0000 (08:41 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 2 Oct 2016 08:41:40 +0000 (08:41 +0000)
includes/skins/SkinTemplate.php

index ed7c6df..3efbd3b 100644 (file)
@@ -180,6 +180,7 @@ class SkinTemplate extends Skin {
                                        'text' => $ilLangName,
                                        'title' => $ilTitle,
                                        'class' => $class,
+                                       'link-class' => 'interlanguage-link-target',
                                        'lang' => $ilInterwikiCodeBCP47,
                                        'hreflang' => $ilInterwikiCodeBCP47,
                                ];