User:Quarenon/autowelcome.js

function insertWelcome { document.getElementById('wpTextbox1').value = '==Welcome!== document.getElementById('wpSummary').value = 'Welcome!'; }

if (wgCanonicalNamespace && wgCanonicalNamespace == 'User_talk' && wgAction && wgAction == 'edit' && wgIsArticle && wgIsArticle === false) { addOnloadHook(insertWelcome); }