Commons:Bots/Requests/MDanielsBot 4

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

MDanielsBot (talk · contribs) 4

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 global and local user counts on an opt-in basis. (May also do upload counts at some point) Only runs on subpages of User:MDanielsBot/GlobalEC and User:MDanielsBot/LocalEC.

Automatic or manually assisted: Automatic, unsupervised

Edit type (e.g. Continuous, daily, one time run): Hourly

Maximum edit rate (e.g. edits per minute): Maxlag-limited, but about 1x/10s

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

Programming language(s): Python (ecUpdate.py on GitHub)

Mdaniels5757 (talk) 02:19, 30 May 2020 (UTC)[reply]

Discussion
Per Krd, permission is not required. Unless there are any objections, please close this request as unneeded. --Mdaniels5757 (talk) 15:50, 30 May 2020 (UTC)[reply]
No general concern, but hourly seems excessive. Daily in the night seems appropriate. Also the update should be skipped, if there is no change in numbers. --Schlurcher (talk) 18:47, 30 May 2020 (UTC)[reply]
You should also not track the number of edits of your bot with your bot account. It generates a vicious circle, where without activity the bot is updating it's own counter and thus generates new edits and thus has to update the counter again. If you want to keep monitor your own edits, you should built in a minimum number of additional edits before the counter is updated. Personally suggesting minimum update of 100 and daily update. --Schlurcher (talk) 18:52, 30 May 2020 (UTC)[reply]
Thanks for the feedback. The bot does not update if there are no changes. I've made the bot run every 6 hours. It will only update users every 20 edits and itself every 100. --Mdaniels5757 (talk) 21:09, 30 May 2020 (UTC)[reply]
I think that's still excessive, once per week should be enough IMHO. --Krd 16:47, 1 June 2020 (UTC)[reply]
I want it a bit more often than once a week. It will now update every 100 edits, and will check to see if it may update once per day. --Mdaniels5757 (talk) 15:39, 3 June 2020 (UTC)[reply]
Is there anybody who want to opt-in except yourself? Is the data really required onwiki, or can you collect the numbers into a local file for your own information? Isn't the data visible at CentralAuth sufficient? (To be clear, I'm not opposed if there is a reasonable use case, I just don't see any from the above request.) --Krd 07:01, 7 June 2020 (UTC)[reply]
I have no clue if others want to use it, but I like to be able to see it on-wiki myself. The real use-case is transclusion to userboxes and the like, like on my userpage. TBH, I started developing this for enwiki (because there they have things it could be more useful for), and added commonswiki functionality later because it already had to pull some needed data. --Mdaniels5757 (talk) 15:30, 7 June 2020 (UTC)[reply]
I'm not convinced that this is a reasonable task, but let's call it approved anyway. --Krd 11:20, 6 July 2020 (UTC)[reply]