Ghost (Diskussion | Beiträge) K Fixes |
Ghost (Diskussion | Beiträge) K Fixes |
||
| Zeile 74: | Zeile 74: | ||
{ | { | ||
var w = document.getElementById("ca-watch"); | var w = document.getElementById("ca-watch"); | ||
var skin = mw.config.get('skin') | |||
if (!w) w = document.getElementById("ca-unwatch"); | if (!w) w = document.getElementById("ca-unwatch"); | ||
var node = mw.util.addPortletLink((skin=="vector" ? "p-views" : "p-cactions"), "#", "Schnee", "ca-snow", "Schneeanimation an- und ausschalten", "s", w); | var node = mw.util.addPortletLink((skin=="vector" ? "p-views" : "p-cactions"), "#", "Schnee", "ca-snow", "Schneeanimation an- und ausschalten", "s", w); | ||