Commons:Bots/Requests/Well, Well, Bot!
Well, Well, Bot! (talk · contribs)
Operator: Well very well (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information) + Mitte27 (talk · contribs) for manual corrections
Bot's tasks for which permission is being sought: Categorization (+ Wikidata elements creation) of Dynamomania photos, previously uploaded by User:MBHbot after a request from Mitte27 and me. Example edits can be found here (Commons) and here (Wikidata). The result will be monitored by user Mitte27 who will fix any issues if they'd appear.
Automatic or manually assisted: Automatic.
Edit type (e.g. Continuous, daily, one time run): One time run.
Maximum edit rate (e.g. edits per minute): Currently set to 60 edits per minute (+ using maxlag=5), but can be lowered.
Bot flag requested: (Y/N): Y
Programming language(s): Python
Well very well (talk) 20:55, 20 December 2024 (UTC)
- Discussion
- Good bot. --YarikUkraine (talk) 21:07, 20 December 2024 (UTC)
- English: Well very well has done a lot of work related to the DynamoMania photo upload. Recently, he has been working on compiling a task for the bot, which will help to create about a thousand categories of football matches, where in the end there will be almost 50 thousand photos. The participant has the necessary technical skills, so his bot can be trusted with the bot flagРусский: Well very well проделал большую работу, связанную с загрузкой фото Динамомании. В последнее время он работал над составлением задачи для бота, которая поможет создать около тысячи категорий футбольных матчей, где в итоге окажется почти 50 тысяч фото. Участник обладает необходимыми техническими навыками, поэтому его боту можно доверить соответствующий флаг. --Mitte27 (talk) 21:48, 20 December 2024 (UTC)
- Thanks. Could you give some details how the proper categories are derived? Or is this manual? Thanks Schlurcher (talk) 21:52, 20 December 2024 (UTC)
- We have created together with Mitte27 a list of all albums (with many-to-one mapping to categories), with each entry listing album prefix, category name, date, team1 and team2 short English names, team1 and team2 WD elements, tournament, tournament element, stadium, stadium element, and (for most entries) match score and a Soccerway identifier.
Categories are derived from that by the following extremely simple algorithm with any issues going to be fixed manually by Mitte27:Well very well (talk) 21:58, 20 December 2024 (UTC)f'''[[Category:{obj.date}]] [[Category:Matches of {obj.team1 if obj.team1.startswith('PFC') or obj.team1.startswith('MFC') else 'FC ' + obj.team1}]] [[Category:Matches of {obj.team2 if obj.team1.startswith('PFC') or obj.team1.startswith('MFC') else 'FC ' + obj.team2}]] [[Category:Association football matches at {obj.stadium}]] [[Category:{obj.tournament if 'friendly' in obj.tournament else obj.tournamet + ' matches'}]] [[Category:Association football matches in Ukraine in {obj.date.split('-')[0]}]]'''
- Here's an example how that file looks like:Well very well (talk) 22:25, 20 December 2024 (UTC)
album category date team1 team1WD team2 team2WD tournament tournamentWD stadium stadiumWD score soccerway Матч «Динамо» – «Шахтар» 1-1. 27 жовтня 2024 року 2024-10-27 Dynamo Kyiv vs Shakhtar Donetsk 2024-10-27 Dynamo Kyiv Q179075 Shakhtar Donetsk Q172969 2024–25 Ukrainian Premier League Q126325612 Lobanovsky Dynamo Stadium Q669347 1-1 4386759
- Here's an example how that file looks like:
- We have created together with Mitte27 a list of all albums (with many-to-one mapping to categories), with each entry listing album prefix, category name, date, team1 and team2 short English names, team1 and team2 WD elements, tournament, tournament element, stadium, stadium element, and (for most entries) match score and a Soccerway identifier.
- Please make edit summaries similar to MediaWiki:Gadget-HotCat.js. --EugeneZelenko (talk) 15:59, 21 December 2024 (UTC)
- Do you mean only for recategorizing files or also for creating new categories? Well very well (talk) 18:06, 21 December 2024 (UTC)
- Only for recategorizing. New category could mention task details. EugeneZelenko (talk) 16:19, 22 December 2024 (UTC)
- Changed the summaries to:Well very well (talk) 18:34, 22 December 2024 (UTC)
'Creating categories for Ukrainian association football matches uploaded from Dynamomania' f'Moving files to {newCategory.title()} (from {oldCategory.title()})' 'Creating elements for Ukrainian association football matches uploaded from Dynamomania'
- Changed the summaries to:
- Only for recategorizing. New category could mention task details. EugeneZelenko (talk) 16:19, 22 December 2024 (UTC)
- Do you mean only for recategorizing files or also for creating new categories? Well very well (talk) 18:06, 21 December 2024 (UTC)
- How many edits in total are expected? --Krd 16:11, 23 December 2024 (UTC)
- About ~1000 matches created (so 1000 category creations) and about 30-40 thousand files categorized (and probably then some similar task of categorizing the remaining matches-related files, in total there were about 50 thousand files uploaded from Dynamomania). So in any case it would be at most like ~55000 edits. Well very well (talk) 16:43, 23 December 2024 (UTC)
- @EugeneZelenko @Krd Hello, any updates? The request is open for more than a week now (I didn't find any mentions in Commons rules how long should be a discussion, but on most Wikipedias it takes typically a week). Well very well (talk) 07:16, 28 December 2024 (UTC)
- Bot flag applied, please make some more test edits. --Krd 09:48, 29 December 2024 (UTC)
- Bot is running now (currently just editing existing categories, new categories should start to appear when it will reach 2021). Well very well (talk) 11:21, 29 December 2024 (UTC)
- @Krd I did a large test run for approximately ~210/1000 matches. Should it be continued now? Well very well (talk) 20:41, 29 December 2024 (UTC)
Approved. --Krd 07:37, 31 December 2024 (UTC)