K Änderung 267375 von Col. o'neill (Diskussion) rückgängig gemacht. |
K addPortletLink seit MW1.17 als mw.util.addPortletLink zu verwenden |
||
| Zeile 75: | Zeile 75: | ||
var w = document.getElementById("ca-watch"); | var w = document.getElementById("ca-watch"); | ||
if (!w) w = document.getElementById("ca-unwatch"); | if (!w) w = document.getElementById("ca-unwatch"); | ||
var node = 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); | ||
if (node) | if (node) | ||
{ | { | ||