User:Writ Keeper/Scripts/teahouseTalkbackLink.js: Difference between revisions

Content deleted Content added
bugfix
m aaaahhhhh
Line 62:
sectionTitle += questionTitle +"|ts=~~"+"~~}}";
}
submitForm.innerHTML = '<input type="hidden" name="wpTextbox1" value="'+sectionTitle+'">\n<input type="hidden" name="wpSection" value="new">\n<input type="hidden" name="wpEditToken" value="' + mw.user.tokens.get( 'editToken' ) + '">\n<input type="hidden" name="wpStarttime" value="' + timestamp + '">\n<input type="hidden" name="wpEdittime" value="' + timestamp + '">\n<input type="hidden" name="wpSummary" value="Teahouse talkback: you\'ve got messages!">';
submitForm.submit();
}