Wikipedia:Bots/Requests for approval/BaranBOT 3
Tools
Actions
General
Print/export
In other projects
Appearance
From Wikipedia, the free encyclopedia
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
Operator: DreamRimmer (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 05:08, Wednesday, June 19, 2024 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): Python
Source code available:
Function overview: Upload and update graph for unreviewed NPP articles.
Links to relevant discussions (where appropriate):
Edit period(s): Weekly
Estimated number of pages affected: 2
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): No
Function details: This bot will upload a weekly graph for unreviewed NPP articles and update the upload date at Wikipedia talk:New pages patrol/Reviewers/Header.
Discussion
[edit]- I'm currently on mobile, but doesn't MusikBOT do that task? Or some other bot? While I was active at NPP, I think we had automated the chart somehow. On mobile, I could find only this BRfA. Maybe we should ask MusikAnimal in case DreamRimmer hasn't spent a lot of time on programming. —usernamekiran (talk) 05:45, 19 June 2024 (UTC)[reply]
- Since the graphs extension became disabled, DreamRimmer makes the graph manually every week. This bot would automate that laborious process, so I support it. DreamRimmer, out of curiosity and in the interest of documenting this, where do you get your data from? Does MusikBot write the data to a page somewhere and then you use that? –Novem Linguae (talk) 09:13, 19 June 2024 (UTC)[reply]
- I am currently using data from https://npptech.toolforge.org/npp/data.php?type=unreviewedArticles, but I plan to use the db directly in the future. – DreamRimmer (talk) 11:28, 19 June 2024 (UTC)[reply]
- Thanks for the ping. Indeed, NPPChart and the similar CategoryCounter tasks are not very useful now that graphs are not a thing. Which reminds me, I probably should have looked into disabling those tasks some time ago! @DreamRimmer Before I do so, is it any easier for your bot to go off of the JSON pages MusikBot populates (hourly, daily, weekly and monthly)? I'm happy to keep it running if it helps, but the multi-bot dependency is probably best avoided. — MusikAnimal talk 05:23, 20 June 2024 (UTC)[reply]
- Thanks for your response,@MusikAnimal. I agree that multi-bot dependency is not good, so I will use the db directly. You can stop these jobs if you want :) – DreamRimmer (talk) 15:59, 20 June 2024 (UTC)[reply]
- Thanks for the ping. Indeed, NPPChart and the similar CategoryCounter tasks are not very useful now that graphs are not a thing. Which reminds me, I probably should have looked into disabling those tasks some time ago! @DreamRimmer Before I do so, is it any easier for your bot to go off of the JSON pages MusikBot populates (hourly, daily, weekly and monthly)? I'm happy to keep it running if it helps, but the multi-bot dependency is probably best avoided. — MusikAnimal talk 05:23, 20 June 2024 (UTC)[reply]
- I am currently using data from https://npptech.toolforge.org/npp/data.php?type=unreviewedArticles, but I plan to use the db directly in the future. – DreamRimmer (talk) 11:28, 19 June 2024 (UTC)[reply]
- Since the graphs extension became disabled, DreamRimmer makes the graph manually every week. This bot would automate that laborious process, so I support it. DreamRimmer, out of curiosity and in the interest of documenting this, where do you get your data from? Does MusikBot write the data to a page somewhere and then you use that? –Novem Linguae (talk) 09:13, 19 June 2024 (UTC)[reply]
- Approved for trial (60 edits or 30 days, whichever happens first). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 15:18, 27 June 2024 (UTC) numbers updated. Primefac (talk) 16:36, 28 June 2024 (UTC)[reply]
- @Primefac, Thanks for approving the trial. Could you please let me know how many times this month I'm allowed to run the script? I'd like to run it every two days during this trial period to check for any potianal issues with the graph data or file uploads. – DreamRimmer (talk) 16:12, 28 June 2024 (UTC)[reply]
- User:DreamRimmer, my understanding of BRFA, you can make 60 edits, total. If 30 days elapses and you have made less than 60 edits, the trial is over. If you make all 60 edits in a single day, the trial is over. Whatever comes first: 60 edits, or 30 days. -- GreenC 17:32, 5 July 2024 (UTC)[reply]
- yes, GreenC is correct. However, can do almost unlimited tests in your bot's userspace. —usernamekiran (talk) 17:40, 5 July 2024 (UTC)[reply]
- Primefac did not mention the edits initially, so I just asked to confirm it, and later they made it clear. Thanks to both of you for the explanation. – DreamRimmer (talk) 02:52, 6 July 2024 (UTC)[reply]
- yes, GreenC is correct. However, can do almost unlimited tests in your bot's userspace. —usernamekiran (talk) 17:40, 5 July 2024 (UTC)[reply]
- User:DreamRimmer, my understanding of BRFA, you can make 60 edits, total. If 30 days elapses and you have made less than 60 edits, the trial is over. If you make all 60 edits in a single day, the trial is over. Whatever comes first: 60 edits, or 30 days. -- GreenC 17:32, 5 July 2024 (UTC)[reply]
- One suggestion. Can these edits be done with the "bot" flag so I can keep /Header on my watchlist without seeing a daily bot edit? –Novem Linguae (talk) 01:03, 9 July 2024 (UTC)[reply]
- Note that this should be solved by giving the bot its bot flag back, which expired. –Novem Linguae (talk) 03:31, 10 July 2024 (UTC)[reply]
- Pinging @Primefac to see if they can re-assign the bot flag. Just to note, the bot has made 42 edits so far and is working as intended. I have fixed the code for all potential issues, so if BAG can review these edits and speedily approve the task, that would be great. No problem if I need to run it for 18 more edits. – DreamRimmer (talk) 15:23, 10 July 2024 (UTC)[reply]
- Apologies, must have misclicked the time option when I set the flags; you should be good to go for the remainder of the time and/or edits. Primefac (talk) 15:32, 10 July 2024 (UTC)[reply]
- Pinging @Primefac to see if they can re-assign the bot flag. Just to note, the bot has made 42 edits so far and is working as intended. I have fixed the code for all potential issues, so if BAG can review these edits and speedily approve the task, that would be great. No problem if I need to run it for 18 more edits. – DreamRimmer (talk) 15:23, 10 July 2024 (UTC)[reply]
- Note that this should be solved by giving the bot its bot flag back, which expired. –Novem Linguae (talk) 03:31, 10 July 2024 (UTC)[reply]
- Trial complete. Edits and Uploads. Everything worked as intended. – DreamRimmer (talk) 16:44, 17 July 2024 (UTC)[reply]
- The bot ran for an extra day, which led to three additional edits (totaling 63). Apologies for the oversight; I forgot to turn it off in time. – DreamRimmer (talk) 16:51, 17 July 2024 (UTC)[reply]
- Approved. Primefac (talk) 12:33, 21 July 2024 (UTC)[reply]
- The bot ran for an extra day, which led to three additional edits (totaling 63). Apologies for the oversight; I forgot to turn it off in time. – DreamRimmer (talk) 16:51, 17 July 2024 (UTC)[reply]
- 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.