User:シ/copyeditor.js

// /* //t.replace(, ""); function initNorm { var article=prompt("Welcome to CopyEditor.js, by QwerpQwertus - Please enter the name of the article you'd like to copyedit."); var parsedarticle=escape(article); window.location.href="http://en.wikipedia.org/w/index.php?title=" + parsedarticle + "&action=edit&section=0&copyedit=true&act=tag" }; function initEdit { var contentComponentTwo = document.editform.wpTextbox1.value var user = prompt('Your username please'); var contentComponentOne = ""; document.editform.wpSummary.value = "Tagging as being copyedited by the Guild of Copy Editors - using '''CopyEditor by User:QwerpQwertus"; document.editform.wpMinoredit.checked = true ; var bodyContentId = document.getElementById("bodyContent") //monobook skin || document.getElementById("mw_contentholder")  // modern skin || document.getElementById ("article");         // classic skin bodyContentId.style.display = "none"; document.editform.wpTextbox1.value =contentComponentOne+content+contentComponentTwo; document.editform.submit; }; function goTwo { window.location='http://en.wikipedia.org/w/index.php?title=Talk:' + wgPageName + '&action=edit&copyeditor=true'; document.getElementById('wpTextbox1').value = '' + document.getElementById('wpTextbox1').value; document.getElementById('wpSummary').value = "Adding Guild of Copy Editors Backlog Elimination Drive inuse tag using User:シ/copyeditor. Please note that I may not be a member of the league, just a participant. Thanks!" + document.getElementById('wpSummary').value; document.getElementById('wpMinoredit').checked = true; document.getElementById('editform').submit; } function go { window.location='http://en.wikipedia.org/w/index.php?title=' + wgPageName + '&action=edit&copyeditor=true'; document.getElementById('wpTextbox1').value = '' + document.getElementById('wpTextbox1').value; document.getElementById('wpSummary').value = "Adding Guild of Copy Editors Backlog Elimination Drive inuse tag using User:シ/copyeditor. Please note that I may not be a member of the league, just a participant. Thanks!" + document.getElementById('wpSummary').value; document.getElementById('wpMinoredit').checked = true; document.getElementById('editform').submit; goTwo; } addOnloadHook(function {    mw.util.addPortletLink('p-tb', 'javascript:go', 'CopyEdit', 't-copy-edit', 'Leave and remove tags that the article is was being copyedited and get some auto spelling and grammar fixes', , );    document.getElementById("t-copy-edit").firstChild.style.cssText = "color:green;" } //