User:MC10/stubtagtab.js: Difference between revisions

Content deleted Content added
switch to append
change link
Line 78:
if (x.indexOf("-stub") === -1) x += "-stub";
document.getElementById('wpTextbox1').value += "\n{" + "{" + x + "}}"; // add to the end of the article
document.getElementById('wpSummary').value = "Tagging with {" + "{" + x + "}} using [[WPUser:USMC10/Sstubtagtab.js|user scriptsstubtagtab.js]]";
document.getElementById('wpPreview').click();
}