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 022cdac92242bc583f29d667a7ae81d127011066
parent 2a2ec08894f042959b08ea37e702133e5ba0d6dc
Author: Agastya Chandrakant <me@hanabi.in>
Date:   Tue, 17 Nov 2020 11:52:04 +0530

add not-ready'd again

Diffstat:
Mutils.js | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

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