Content deleted Content added
it should only do this if there isn't a tag already there. i don't know why it focuses the text box at the end... |
No edit summary |
||
Line 11:
var txt = document.editform.wpTextbox1;
//
var
// If the edit
if
// Append the tag
txt.value += tag;
// Add an edit summary
document.editform.wpSummary.value = 'Needs a source and copyright tag — see [[Wikipedia:Image copyright tags]]';
|