Commons:Bots/Requests/MifterBot 3

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

MifterBot (talk · contribs)

Operator: Mifter (talk · contributions · Number of edits · recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Check newly uploaded images to ensure they have a license tag. Reactivation of a former task Commons:Bots/Requests/MifterBot

Automatic or manually assisted: Automatic

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

Maximum edit rate (e.g. edits per minute): No more than 2 edits per minute (1 tag and 1 notification)

Bot flag requested: (Y/N): Yes, the script I used years ago broke around the same time I had a hardware failure so I stopped running the bot. Recently, I managed to get the script working again and resumed running my bot on the English Wikipedia here. It is the same script that I would use on commons.

Programming language(s): Python - A custom fork of pywikipedia

Mifter (talk) 13:53, 30 May 2014 (UTC)


 Doing… Mifter (talk) 14:41, 30 May 2014 (UTC)
Bot only updates log page, but not files/user talk pages. Is it intended? --EugeneZelenko (talk) 14:24, 31 May 2014 (UTC)
It is intended to update the log when it encounters an unknown template. Once logged I can modify the script to whitelist or ignore the template. This process takes a little trial and error as the bot has to run to see what templates it encounters. All the templates on the log have been integrated to the script (over time the log is rarely used once all the major templates are integrated into the script only catching oddball entries and the like). The large amount of Template:Photograph showing on the log is due to a user accidentally uploading a huge amount of images without a license tag. The user is an established user and uploaded other images around these with license tags so I'm guessing it was an error. However that resulted in a large number of log entries. I whitelisted the template and did a limited run to ensure that it would tag images like this in the future. I then stopped it to prevent inundating the user's talk page. Best, Mifter (talk) 16:45, 31 May 2014 (UTC)
See File:«Півострів Меганом» Остоматій Ліна ID 01-117-5005.jpeg and File:The Golden House, Venice, Italy-LCCN2001701053.tif for two examples of correct tags (more are in contribs). Best, Mifter (talk) 16:57, 31 May 2014 (UTC)
Edits looking OK imho. --Steinsplitter (talk) 10:56, 3 June 2014 (UTC)
Is it possible to analyze user contributions completely (after detecting problematic file) before adding warnings on user page? Just to avoid clutter there. If I'm not mistaken, one of recent bots was modified for such algorithm. --EugeneZelenko (talk) 14:12, 3 June 2014 (UTC)
The way the script is written that currently isn't possible. I can look into adding it in the future however if a user uploads multiple untagged files they would need multiple notices so it would add quite a bit to the script to balance past contributions with notification needs. Best, Mifter (talk) 21:55, 3 June 2014 (UTC)
See Commons:Bots/Requests/YiFeiBot (13). Please collaborate with owner to improve your code. --EugeneZelenko (talk) 14:06, 4 June 2014 (UTC)
I've spent a lot of time looking through the request and then at all of the edits the bot has made in the user talk namespace but I'm not sure the solution proposed there would work in this case. Except in exceptional circumstances a user wouldn't be uploading large numbers of files within a single hour, I'm not sure if it would be feasible to write code into the bot to check previous warnings taking into how long ago they were issued, by whom, any intervening edits, etc. For such rare circumstances I would hazard that rollback or talk page section archiving/removal could be the best tool as the amount of time and effort needed to code for such an unlikely eventuality wouldn't be worth the returns. Best, Mifter (talk) 20:54, 5 June 2014 (UTC)
@Zhuyifei1999. Could you help, please? --EugeneZelenko (talk) 14:14, 6 June 2014 (UTC)
I'm not sure what the problem here. At least imo ~20 notifications in ~1 hour isn't a good idea. Perhaps the bot could group the files by uploaders and make only one notification per uploader in a single run. (My bot achieved that by multiple queries to the database.) --Zhuyifei1999 (talk) 14:54, 6 June 2014 (UTC)
Multiple warnings were my concern too. I think will be good idea to help requester to improve his bot code. --EugeneZelenko (talk) 14:12, 7 June 2014 (UTC)
  • Pictogram-voting-question.svg Question This bot request appears to be stuck at the moment. Is there anything that we can do here, as bureaucrats, that could help move it forwards? I notice that there are some problems with the number of notifications the bot is currently sending out to users, can this be improved? Thanks, odder (talk) 21:31, 25 June 2014 (UTC)
I've been exploring the possibility of adding a counter to the bot's code so it doesn't warn people more than X times, however have been extremely busy recently so haven't had the time to move forward with it. For what it is worth, I still am not convinced that too many warnings is really an issue. If a user uploads files without a license they need to know about it, and I am not sure that the technical work required to add a counter is worth the small number of users it would effect. I've been running the bot on the English Wikipedia for a while (see en:special:contributions/MifterBot) and ran an older version of the bot here on Commons in 2008 (see Commons:Bots/Requests/MifterBot) and while the bot does issue multiple warnings where necessary it has only given out a large number of warnings a few times out of thousands of edits (and many of those multiple warnings were over a period of time as a user continued to upload untagged images). The reason that it issued numerous warnings to Fae in a short period of time was because she was uploading hundreds of files with a broken template (that was not a license) and as it found them it tagged and warned her. From my experience most new users don't blindly upload tens or hundreds of images without a tag in such a short period of time as that they would cause the bot to tag a huge number of files and issue a huge number of warnings, most would be blocked fairly quickly and even if there were a number of warnings, removing them is as simple as removing any other talk page message. I would like to run the bot a bit more to see how it performs without the outlier of Fae's images and to gather data on how likely a user is to upload numerous untagged files. Best, Mifter (talk) 13:02, 28 June 2014 (UTC)
@Mifter: Apologies for the delay in responding to your message on my part. Can you please try running the bot again to see how it works for regular users, ie. what you described in your last sentence? Thank you! odder (talk) 08:12, 28 October 2014 (UTC)

@Mifter: Any progress on this? If we don't hear from you in a few days, this request will be closed as stale. --99of9 (talk) 04:44, 5 February 2015 (UTC)

I'm closing this request as stale due to lack of any update for the past 3 months. odder (talk) 11:05, 22 February 2015 (UTC)