User:MattWade/vector.js

importScript('User:Legoktm/mtc.js') importScript('User:Dr_pda/prosesize.js'); //User:Dr_pda/prosesize.js function movetocommons { var url="http://toolserver.org/~magnus/commonshelper.php?interface=en&image=" + wgTitle + "&lang=en&username=" + wgUserName + "&tusc_user=" + wgUserName ; w=window.open(url); } function start { if(wgCanonicalNamespace == "Image" || wgCanonicalNamespace == "File") { mw.util.addPortletLink("p-cactions","javascript:movetocommons","move to commons","ca-mcom"); } } addOnloadHook(start);