User:Morus kot/monobook.js

function move { if (mw.config.get('wgNamespaceNumber') == 6) { mw.util.addPortletLink("p-cactions", "http://toolserver.org/~magnus/commonshelper.php?interface="+mw.config.get('wgContentLanguage')+"&image="+mw.config.get('wgTitle')+"&lang=en&commonsense=1&reallydirectupload=1", "To Commons"); } } addOnloadHook(move);