Commons:Bots/Requests/MDanielsBot 8

MDanielsBot 8

Bot: MDanielsBot (talk · contribs)

Operator: Mdaniels5757 (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Update arbitrary database reports, using the same code that SDZeroBot uses on enwiki (modified for Commons). Users will be able to transclude {{Database report}} on a page with their SQL, and have the bot update the database report at a specified interval or on-demand. This can replace BernsteinBot, which has been inactive for 2 years.

Automatic or manually assisted: Automatic, unsupervised

Edit type (e.g. Continuous, daily, one time run): Two updates per query per day maximum.

Maximum edit rate (e.g. edits per minute): maxlag=5 seconds

Bot flag requested: (Y/N): Already flagged

Programming language(s): NodeJS/TypeScript (source code)

Mdaniels5757 (talk  contribs) 04:04, 26 December 2024 (UTC)

Discussion
  • A bot that updates useful database reports would be useful and is requested in 2 threads in Commons:Bots/Work requests. --Prototyperspective (talk) 18:36, 27 December 2024 (UTC)
    Can we limit the use of these reports to project space or active users, or put some similar kind of safeguard? I think we should avoid having somebody create dozwns of reports and then getting inactive, having reports updates for years which nobody used? Krd 09:46, 29 December 2024 (UTC)
    @Krd Sure, done. Use of the automatic update feature now only works in the "Commons" namespace. Database reports can still exist in other namespaces, and will work when manually triggered for update using the link. —Mdaniels5757 (talk  contribs) 19:58, 29 December 2024 (UTC)
    I figured that I should note that since I had configured the tool wrong, both periodic updates and web-triggered updates had the summary "periodic update". Just fixed it. —Mdaniels5757 (talk  contribs) 01:46, 30 December 2024 (UTC)

Approved. --Krd 08:30, 4 January 2025 (UTC)