dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
381e373
)
Add a class to the <a> element of the interlanguage link
author
Amire80
<amir.aharoni@mail.huji.ac.il>
Sat, 10 Sep 2016 13:41:44 +0000
(16:41 +0300)
committer
Amire80
<amir.aharoni@mail.huji.ac.il>
Wed, 28 Sep 2016 07:42:19 +0000
(07:42 +0000)
This will allow precise querying for this element in the DOM.
Some gadgets add other <a> elements, and this make querying
not precise. See bug T135378.
Change-Id: I06c80945af785477be52096022c8493e7f82c298
includes/skins/SkinTemplate.php
patch
|
blob
|
history
diff --git
a/includes/skins/SkinTemplate.php
b/includes/skins/SkinTemplate.php
index
ed7c6df
..
3efbd3b
100644
(file)
--- a/
includes/skins/SkinTemplate.php
+++ b/
includes/skins/SkinTemplate.php
@@
-180,6
+180,7
@@
class SkinTemplate extends Skin {
'text' => $ilLangName,
'title' => $ilTitle,
'class' => $class,
+ 'link-class' => 'interlanguage-link-target',
'lang' => $ilInterwikiCodeBCP47,
'hreflang' => $ilInterwikiCodeBCP47,
];