User:Thedjatclubrock/welcome.js

// User:thedjatclubrock/welcome.js

function welcomeuser { document.editform.wpTextbox1.value = "{/{/subst:Welcome-personal|Thedjatclubrock| Thedjatclubrock :) (T/C) 14:09, 10 November 2007 (UTC)}}"; //   document.editform.wpSummary.value = "JS EDIT: Welcome to Wikipedia"; //Make a descriptive edit summary    document.editform.wpMinoredit.checked = false; //Make it a minor edit    document.editform.wpSave.click; //Submit it! } function addTab {      { mw.util.addPortletLink('p-cactions', 'javascript:welcomeuser', 'Welc', 'ca-welcomeuser', "Welcome user"); } }

addOnloadHook(addTab);