We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58e10e commit a43f2aeCopy full SHA for a43f2ae
afd-notifcations/notifier.js
@@ -354,7 +354,7 @@ class Notifier {
354
return Promise.reject('nobots');
355
}
356
357
- let rgx = new RegExp(`== ?Nomination of \\[\\[:?${article}\\]\\] for deletion ?==`);
+ let rgx = new RegExp(`== ?Nomination of \\[\\[:?${mwn.util.getRegExp(article)}\\]\\] for deletion ?==`);
358
if (rgx.test(text)) {
359
log(`[C] ${username} was already notified of ${article}`);
360
return Promise.reject('already-notified');
0 commit comments