User:Tgr/vector.js

var wikEdDisabledPreset = true;

if(mw.config.get('wgCanonicalNamespace') == "Image") addOnloadHook(function chlink { var href = "http://tools.wikimedia.de/~magnus/commonshelper.php?language=en&project=wikipedia&image=" + mw.config.get('wgPageName') + "&username=Tgr&commonsense=1&reallydirectupload=1"; var li = mw.util.addPortletLink('p-tb', href, 'Move to Commons', 't-movetocommons', , , document.getElementById('p-tb').getElementsByTagName('li')[0]); li.getElementsByTagName('a')[0].target = '_blank'; });

//mw.loader.load('http://toolserver.org/~magnus/wysiwtf/wysiwtf.js');