Wikipedia:Bots/Requests for approval/SDZeroBot 6

SDZeroBot 6

[[User:SDZeroBot|SDZeroBot 6]]

{{Newbot|SDZeroBot|6}}

Operator: {{botop|SD0001}}

Time filed: 16:02, Tuesday, September 1, 2020 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Node.js

Source code available: [https://github.com/siddharthvp/SDZeroBot/blob/master/afd-notifcations/notifier.js GitHub]

Function overview: Notify significant contributors to AfD nomination of article

Links to relevant discussions (where appropriate):

Edit period(s): Daily

Estimated number of pages affected: 10 - 20 a day (guess)

Exclusion compliant (Yes/No): Yes

Already has a bot flag (Yes/No): Yes

Function details: Whenever an AfD is opened, this bot will lookup the significant contributors to the article using the [https://api.wikiwho.net/en/api/v1.0.0-beta/#!/1_-_Content_per_revision/get_latest_rev_content_article_title WikiWho API] (which also powers the Xtools authorship stats, see for example [https://xtools.wmflabs.org/authorship/en.wikipedia.org/Albert_Einstein authorship stats for Albert Einstein]). The API considers the amount to text added which is present in the current version of the article.

A customised version of {{t|Afd notice}} will be sent to editors who contributed more than 20% to the article and who weren't already notified. Editors can choose to opt out using a centralised exclusion page. Editors can also choose to specify the percentage authorship above which they'd like to be notified (if different from the 20% default). Editors with {{t|nobots}} on their talk page or who are blocked for more than 7 days or globally locked will not be notified.

=Discussion=

  • Would I be correct in likening this to the "user version" of WP:Article alerts? Primefac (talk) 19:02, 1 September 2020 (UTC)
  • Not really. AAlerts uses pre-set configs (on the basis of categories/wikiproject tags present) to determine which projects to notify. It covers a lot of things than just AfDs, and it doesn't post notifications to user talk pages. – SD0001 (talk) 05:47, 2 September 2020 (UTC)
  • Support, I'd like to be notified for those AFDS, Atlantic306 (talk) 00:19, 2 September 2020 (UTC)t
  • Don't know anything about bots, but I know a good bit about AFD, and this seems like a Very Good Idea to me. If I extensively work on an article, I'd want to know that it's nominated for AFD. Best, Eddie891 Talk Work 12:46, 2 September 2020 (UTC)
  • {{like}} — Rhododendrites talk \\ 21:32, 4 September 2020 (UTC)
  • {{BotTrial|edits=100}} Primefac (talk) 21:46, 4 September 2020 (UTC)
  • 30 edits made from yesterday's AfDs (excluding relisted ones). Run report is available here. Will wait for a day before continuing. I have set up the page for exclusions etc at user:SDZeroBot/AfD notifier. – SD0001 (talk) 18:47, 5 September 2020 (UTC)
  • {{BotTrialComplete}} [https://en.wikipedia.org/w/index.php?title=Special:Contributions&dir=prev&offset=20200905182608&limit=100&target=SDZeroBot&namespace=3 edits] notes:
  • there's one issue of notification being made even when they were already notified (reported on talk page) which I'm yet to look into.
  • To avoid edits using refill, citation bot, IABot, etc (which usually add a lot of bytes) from being considered as significant, I added some code so that if the editor's contribution was more than 90% to references only, notification would be skipped.
  • A notification is sent to the creator (provided they've added enough text) if they weren't notified by the nominator, so that's another advantage of the bot.

:– SD0001 (talk) 08:30, 23 September 2020 (UTC)

::Given the potential for disruption, I'd like to see the "already notified" bug cleared up before approving this (as otherwise everything looks good). Primefac (talk) 15:13, 25 September 2020 (UTC)

:::{{u|SD0001}}, has that issue been definitely cleared up or would you like to send it back to trial to check? Primefac (talk) 15:08, 2 October 2020 (UTC)

::::{{u|Primefac}}, {{fixed}} yep I found the [https://github.com/siddharthvp/SDZeroBot/commit/a43f2ae71ecc48b41d9689e5ea648f2d68a8f359 cause]: part of the regex needed escaping. – SD0001 (talk) 16:43, 2 October 2020 (UTC)

:::::{{BotApproved}} Primefac (talk) 16:44, 2 October 2020 (UTC)

:The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard.