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

Content deleted Content added
Add option to force watchlist
Account for {{COI edit}}
 
Line 307:
if (responseOption.parameter != "") {
let template = "{{Edit COI|" + responseOption.parameter + "}}";
wikitext = wikitext.replace(/{{ *(Edit[ _])?COI(-protected|([ _](edit|request)){1,2})?( *\| *([=A-Z])*)* *}}/i, template);
}
if (responseOption.response != "") {