enwnbot2

Converts MediaWiki [[links]] and {{templates}} to links, informs important events from wiki, handles announces review queue, and under review, and handles when they last saw a given user.
git clone http://git.hanabi.in/repos/enwnbot2.git
Log | Files | Refs | README | LICENSE

commit 7c03847af167284c59d03d6d6969e41ecad6af85
parent 022cdac92242bc583f29d667a7ae81d127011066
Author: Agastya Chandrakant <me@hanabi.in>
Date:   Tue,  1 Dec 2020 09:09:58 +0530

fix typo

Diffstat:
Mutils.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils.js b/utils.js @@ -100,7 +100,7 @@ function streamMessage(event) { } case "Disputed": { const failedArticleRegex = /^\[\[:(.*)\]\]/; - const failedArticle = comment.match(failedArticle)[1]; + const failedArticle = comment.match(failedArticleRegex)[1]; if (comment.includes("added")) msg = `${user} has not-ready'd the [[${failedArticle}]] article.`; break; }