diff --git a/src/modules/submissions.js b/src/modules/submissions.js index 059413d..dd7c7e2 100644 --- a/src/modules/submissions.js +++ b/src/modules/submissions.js @@ -477,7 +477,6 @@ 'Carry on from here, and delete this comment.', 'Please leave this line alone!', 'Important, do not remove this line before (template|article) has been created.', - '== Request review at \\[\\[WP:AFC\\]\\] ==', 'Just press the "Save page" button below without changing anything! Doing so will submit your article submission for review. ' + 'Once you have saved this page you will find a new yellow \'Review waiting\' box at the bottom of your submission page. ' + 'If you have submitted your page previously, the old pink \'Submission declined\' template or the old grey \'Draft\' template ' + @@ -510,6 +509,9 @@ commentRegex = new RegExp( '', 'gi' ); text = text.replace( commentRegex, '' ); + // Remove initial request artifact + text = text.replace( /== Request review at \[\[WP:AFC\]\] ==/gi, '' ); + // Remove html comments (/gi, '$1');