User:Joystick/vector.js

// function addPortletLink(portlet, href, text, id, tooltip, accesskey, nextnode)

addOnloadHook(function { addPortletLink('p-cactions', wgServer + wgScript + '?title=' + encodeURIComponent(wgPageName) + '&setlang=en', 'en', 'ca-setlang-en', 'Zmień interfejs na angielski'); });

addOnloadHook(function { addPortletLink('p-cactions', wgServer + wgScript + '?title=' + encodeURIComponent(wgPageName) + '&setlang=pl', 'pl', 'ca-setlang-pl', 'Zmień interfejs na polski'); });

addOnloadHook(function { addPortletLink('p-cactions', wgServer + wgScript + '?title=' + encodeURIComponent(wgPageName) + '&setlang=yi', 'yi', 'ca-setlang-yi', 'Zmień interfejs na jidysz'); });

addOnloadHook(function { addPortletLink('p-cactions', wgServer + wgScript + '?title=' + encodeURIComponent(wgPageName) + '&action=purge', 'purge', 'ca-purge', 'Wyczyść pamięć podręczną dla tej strony'); });