User:Terasail/Edit Request Tool.js: Difference between revisions

Content deleted Content added
Fix
Update after template change
Line 22:
"Not done: it's not clear what changes you want to be made. Please mention the specific changes in a 'change X to Y' format and provide a reliable source if appropriate.": ["xy", "helpNotice", "Not done - Unclear request"],
"Not done: please provide reliable sources that support the change you want to be made.": ["rs", "link", "Not done - Needs reliable sources"],
"Not done for now: pleaseThis establishis actually a consensuscontroversial foredit, thisso alterationyou'll beforeneed usingto thediscuss editfirst protectedwith templateother editors. Please open a new section here and start a discussion.": ["c", "userGroup", "Not done for now - NeedsRequires consensus"],
"Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES.": ["sb", "linkExternal", "Not done - Use sandbox first"],
"Not done: this is the talk page for the page. Please make your request at the talk page for the article concerned.": ["mis", "ongoingConversation", "Not done - Misplaced"],
Line 154:
let boxType = currentBox.parentElement.dataset.origlevel;
let replyList = Object.entries(replyERT);
let mainResponse = [[replyList[rOS + 9][1], "Unclear: X-Y", "Unclear request"], [replyList[rOS + 10][1], "WP:Reliable", "Needs reliable sources"], [replyList[rOS + 11][1], "WP:ConsensusControversial", "ChangeThis needsis a controversial change and requires consensus"]];
$(currentBox).append('<tr><td colspan="2"><div style="display: flex; justify-content: center;"></div></td></tr><tr style="display:none;"><td colspan=2 style="padding-bottom:10px; text-align:center"><div style="display: flex; justify-content: center;"></div></td></tr>');
let firstRow = currentBox.children[1].children[0].children[0];