User talk:Usernamekiran/footballer categories

= category contents = Hello. I think this is going to be the last request/question. Would you kindly add the exceptions for the category contents on following page? another thing, on some places you said " needs to be reordered for some countries (see notes at top of page)", what do you mean by that? —usernamekiran (talk) 07:51, 21 May 2023 (UTC)


 * I don't think there are any other exceptions than already listed. Regarding nationality, I meant Réunion, Georgia (country), Northern Ireland and Russian Empire all have a different naming scheme for nationality, e.g. "Category:Footballers from Russian Empire" instead of "Category:Russian Empire footballers". Which was handled correctly in your contents v4 from the other day. S.A. Julio (talk) 15:03, 21 May 2023 (UTC)

`Footballers in `
Desired content:

`Footballers in ` subst:User:S.A. Julio/Fbcat

actual output
Hello. I ran one program with all the categories, would you kindly see if the content for new categories is correct? (there are 244 categories) —usernamekiran (talk) 18:14, 24 May 2023 (UTC)


 * There are issues with countries using soccer, the category names are using "Footballers in Soccer players in" when it should be "Soccer players in". And "Association footballers in" needs to be used for Ireland, Irish Free State, Republic of Ireland, Northern Ireland and New Zealand. S.A. Julio (talk) 19:09, 24 May 2023 (UTC)
 * Hello. I had accidentally ran an older version of program, I have updated the output with this edit. Kindly see if everything is okay, also I will shortly add the output for "Expatriate footballers in ". —usernamekiran (talk) 18:22, 27 May 2023 (UTC)
 * Only issue is that Ireland is missing "association". S.A. Julio (talk) 19:40, 30 May 2023 (UTC)
 * done. —usernamekiran (talk) 09:17, 31 May 2023 (UTC)

-

footballers
Desired content:

Exceptions:
 * 1) needs to be reordered for some countries (see notes at top of page).
 * 2) "Footballers" should be substituted for "association footballers" or "soccer players" for certain countries.
 * 3) The sort key "footballers" should be "soccer players" for countries that use "soccer".

actual output
Hello. I ran one program with all the categories, would you kindly see if the content for new categories is correct? (there are 241 categories) —usernamekiran (talk) 06:50, 22 May 2023 (UTC)


 * Only issue is that for the 'Men's footballers in ' categories, a number are missing the word "the". For example it needs to be "Men's footballers in the Bahamas", "Men's footballers in the Cook Islands", etc. Since the bot also will be creating the 'Men's footballers in ' categories, the names of these categories are already listed here if you want to see which ones use "the". S.A. Julio (talk) 09:27, 22 May 2023 (UTC)
 * Also it needs to be "men's association footballers in " for Ireland, Irish Free State, Republic of Ireland, Northern Ireland and New Zealand. And there is an issue with Northern Ireland, the category was listed as being created as "Northern Ireland footballers", but it should be "Men's association footballers from Northern Ireland" per the list here (and its categories need to be "Sportsmen/Footballers from Northern Ireland"). Additionally, could you remove "(country)" from the sort key for Georgia? S.A. Julio (talk) 09:33, 22 May 2023 (UTC)
 * Hi I updated the code for everything, except for "Northern Ireland" issue, because the category was created as "Men's association footballers from Northern Ireland". Maybe you overlooked? I couldn't test the updated code today. I will test it soon, and will let you know. —usernamekiran (talk) 17:00, 22 May 2023 (UTC)
 * Sorry, I must have looked in the wrong place, but it still needs to have its categories as "Footballers from Northern Ireland", "Sportsmen from Northern Ireland" and "Men's association footballers in Northern Ireland". S.A. Julio (talk) 18:14, 22 May 2023 (UTC)
 * Hi. I ran the program again, and replaced the output (did not add to avoid increasing the page size). You can see the entire output below, as well as the diff here, to see the things that were changed. Let me know if everything is okay, or if we need further changes. Again, programming/coding is easy, and most of the stuff is done with updating with just a few characters, the only problem currently is my busy schedule. —usernamekiran (talk) 10:18, 23 May 2023 (UTC)
 * A few more things to fix:
 * It needs to be "Men's association footballers in" Ireland, Northern Ireland, New Zealand
 * Remove " (country)" from the sort key for Georgia
 * Many countries are missing the word "the" from the "Footballers in " category name. You can see which countries require this addition at User:Usernamekiran/footballer categories
 * S.A. Julio (talk) 16:31, 23 May 2023 (UTC)
 * Hi. I updated the code, and pasted the output in this same edit. I also found out some other mistakes in my code, and I have rectified them. —usernamekiran (talk) 18:15, 23 May 2023 (UTC)
 * Great, everything is perfect except it should be "Association footballers from Northern Ireland" instead of "Footballers from Northern Ireland". S.A. Julio (talk) 18:28, 23 May 2023 (UTC)
 * done. Tomorrow I will update this output, and then remove it completely, later I will add second program's output tomorrow. —usernamekiran (talk) 18:55, 23 May 2023 (UTC)

-

Expatriate footballers in
Desired content: This category is for non- men's footballers who currently play or have played in.

Exceptions:
 * 1) "Footballers" should be substituted for "association footballers" or "soccer players" for certain countries.

actual output
For the countries using "soccer", the categories created should be categorized in "Expatriate soccer players in ", not "Expatriate men's soccer players in ". S.A. Julio (talk) 19:46, 30 May 2023 (UTC)
 * done. —usernamekiran (talk) 08:18, 31 May 2023 (UTC)

Footballers in by club
Desired content:

Exceptions:
 * 1) "Footballers" should be substituted for "association footballers" or "soccer players" for certain countries.

actual output
S.A. Julio: Hello. I test ran the program on selected 15 categories. Let me know if there are any errors, and if we should test the program on more categories. —usernamekiran (talk) 02:12, 28 May 2023 (UTC)


 * Looks all good to me. S.A. Julio (talk) 19:54, 30 May 2023 (UTC)

expatriate footballers
Desired content:

The is a page for men's footballers who have played abroad at any time during their career.

Exceptions:
 * 1) needs to be reordered for some countries.
 * 2) "Footballers" should be substituted for "association footballers" or "soccer players" for certain countries.

actual output
Hello. I test ran the program on selected 10 categories. Let me know if there are any errors, and if we should test the program on more categories. —usernamekiran (talk) 17:12, 29 May 2023 (UTC)


 * CatAutoTOC is missing an opening/closing bracket. There are quite a few issues with the categories, such as using "soccer players" and "association footballers". The category names should be easy to derive from the title of the category being created. For example, the category "Expatriate men's association footballers from Northern Ireland" should be in "Expatriate association footballers from Northern Ireland" (just remove " men's") and "Men's association footballers from Northern Ireland" (just remove "Expatriate "). S.A. Julio (talk) 20:07, 30 May 2023 (UTC)
 * I fixed the CatAutoTOC brackets (also the spelling of category. But I did not understand your rest of the suggestions. Would you kindly rephrase it? I followed the format of "desired content" given above. —usernamekiran (talk) 09:29, 31 May 2023 (UTC)
 * Australia and Canada use "soccer players", while Republic of Ireland/Northern Ireland uses "association footballers". The category names for Northern Ireland and Georgia should be "Footballers/Association footballers from ". The second category listed (" men's footballers") is one your bot is creating, so the category title should be matching (see User:Usernamekiran/footballer categories for the full list). S.A. Julio (talk) 16:29, 31 May 2023 (UTC)
 * Hi. I edited the following category content manually, this is the expected one, right? —usernamekiran (talk) 15:57, 1 June 2023 (UTC)
 * Yes, looks good. S.A. Julio (talk) 16:35, 1 June 2023 (UTC)
 * should be "Republic of Ireland men's association footballers"? —usernamekiran (talk) 16:45, 1 June 2023 (UTC)
 * Yes, sorry missed that. S.A. Julio (talk) 16:55, 1 June 2023 (UTC)
 * Hi. I updated the "actual output" below (10 categories). Would you please take a look at them? Also, would you like to test the code on some other seemingly different/problematic categories? —usernamekiran (talk) 17:26, 2 June 2023 (UTC)
 * The only issue is with Georgia: the category names (including in the non-diffusing template) should use "Georgia (country)", and the name of the third category should be "Expatriate men's association football players by nationality". Maybe it would be best to do a final check of full output of all the categories the bot will be creating? If that's not a hassle. S.A. Julio (talk) 19:16, 2 June 2023 (UTC)
 * Hi. I updated the "actual output". It is not at all an issue, the thing is, I feel bad. Instead of the bot making the work easy for you, it feels like I have increased your work. I only have doubts with the nationality in the sort key, as I manually added them. I found out that categories use "Northern Ireland" as nationality, and I had inserted "Northern Irish" first. Also, in the original list you provided, there were four (or five) copy-paste errors, resulting in "men's association men's footballers", I have fixed them. Let me know if the following output is correct. —usernamekiran (talk) 16:23, 3 June 2023 (UTC)
 * Only issues is "Category:New Zealand men's footballers" should be "Category:New Zealand men's association footballers". And Georgia still has issues, I have included the correct output below:

This category is for Georgia men's footballers who have played abroad at any time during their career.


 * S.A. Julio (talk) 14:06, 4 June 2023 (UTC)
 * I updated the output, this is the diff. —usernamekiran (talk) 16:28, 4 June 2023 (UTC)
 * Great, one last thing, it should be "Category:Irish association footballers", not "Category:Irish footballers". S.A. Julio (talk) 16:44, 4 June 2023 (UTC)
 * I could not find "Category:Irish footballers". Did you mean "Category:Irish men's footballers|Expatriate" should be ""Category:Irish men's association footballers|Expatriate"? —usernamekiran (talk) 16:53, 4 June 2023 (UTC)
 * Yes sorry, that's what I meant. S.A. Julio (talk) 17:01, 4 June 2023 (UTC)
 * done. —usernamekiran (talk) 17:08, 4 June 2023 (UTC)

Comment
At one instance in the output it says "This categiry is" when I guess it should say "This category is". Kaffet i halsen (talk) 20:43, 29 May 2023 (UTC)
 * Thank you for pointing it out. I have fixed the error. —usernamekiran (talk) 10:35, 30 May 2023 (UTC)

= other discussions =

BRFA
Hello. I have finished creating created a preliminary draft for BRFA at User:Usernamekiran/footballer categories. The bot is currently only programmed to create the categories in the format "old_category" → "new_category" (the lists you provided), and add the contents to the new categories accordingly. The only other thing bot does is to go through old categories, and replace "old_category" with "new_category". Do you want to add some more functionality? —usernamekiran (talk) 13:30, 30 May 2023 (UTC)


 * Sorry, I've had a hectic last few days. That functionality seems to suffice to me. Just to be clear, the bot will only move mainspace articles to the new categories? With the exception being "Footballers in by club", where all subcategories (other than "Women's footballers in by club") should be moved to "Men's footballers in by club". Regarding your earlier message, the sort key should be "+Men". S.A. Julio (talk) 19:29, 30 May 2023 (UTC)
 * I am sorry to hear that, you should have told me something like "I am busy IRL, I will get back to you in couple of days". I hope everything is fine now I can program the bot to do anything, but it is currently set to update only the articles (mainspace pages, excluding files, and userpages/sandboxes, and wikiprojects/other WP space). Regarding the "Footballers in by club", the bot will update the categories listed at User:Usernamekiran/footballer categories. eg "Category:Footballers in Armenia by club → Category:Men's footballers in Armenia by club", but the bot currently does not update the subcategories of "Footballers in Armenia by club" ("FC Alashkert players"‎, "Araks Ararat FC players", "FC Ararat Yerevan players‎"). Do we want to update these subcategories as well? —usernamekiran (talk) 07:37, 31 May 2023 (UTC)
 * As the "Footballers in by club" categories are containers (with no articles in them), their subcategories will need to be moved as well. For example, with the page, the category should be changed from → . However, the women's categories, e.g. , should not be changed. S.A. Julio (talk) 16:44, 31 May 2023 (UTC)
 * And one other question, how many edits per minute can the bot make? Wondering if the category changes will be going on for a week, a month, or longer. S.A. Julio (talk) 16:53, 31 May 2023 (UTC)
 * Hi. You mean, if there is a container category Category:Footballers in Armenia by club, and it has subcategories like "FC Alashkert players‎", "Araks Ararat FC players‎", "FC Ararat Yerevan players‎", "FC Ararat-Armenia players‎", "FC Armavir (Armenia) players‎". You want to move all these sub-categories to "men's" (excluding the categories that have women in it), correct? Also, is there any pattern to adding "men's" in these subcategories? Like, should I add "Men's" at the beginning of the category title? eg "Men's FC Alashkert players‎", "Men's Araks Ararat FC players‎"? or would that result in some incorrect titles? Regarding the edit rate, the bot makes around one edit per second or 70-80ish edits per minute. But as I have created five separate programs, and if we run them simultaneously, then the edit rate would go around 60*5 = 300 edits per minute. Even if we run one program at a time, I don't think it would take more than a week. Without considering moving/updating the subcategories, there would be around 250,000 edits. With one edit per second, this would take ~70 hours. But my bot would run from toolforge, and has higher edit rate. But in any case, the entire task would take less than four days. —usernamekiran (talk) 16:33, 1 June 2023 (UTC)
 * Sorry if I was unclear, I am not referring to changing anything with specific team categories, e.g. I do not want to create "Men's FC Alashkert players‎". I am referring to changing which category "FC Alashkert players‎" is a member of. For another example, if you look at, you will see it is a member of . I just wanted to be sure your bot will change this category to . S.A. Julio (talk) 16:51, 1 June 2023 (UTC)
 * oh, got it. so you mean, in other words, that the bot should update the categories of mainspace pages, as well as categories, correct? —usernamekiran (talk) 17:05, 1 June 2023 (UTC)
 * Yes, but categories should be updated only for the "Footballers in by club" program, not the others. S.A. Julio (talk) 17:41, 1 June 2023 (UTC)
 * got it. —usernamekiran (talk) 18:15, 1 June 2023 (UTC)
 * "Footballers in " also has container categories, do you want to update its categories similar to "Footballers in by club"? "Footballers in " has 244 categories, and some of these have articles, in total there are 68 articles. Also, it has been five days since we posted at WT:FOOTY, so when we get the desired output for " expatriate footballers", we can file the BRFA. —usernamekiran (talk) 16:28, 3 June 2023 (UTC)
 * Actually, I think it would be best if the "Footballers in " program does not update any categories, either for articles or category pages. Categories created with the "Footballers in " program will be populated by the categories created by your other programs. S.A. Julio (talk) 13:53, 4 June 2023 (UTC)
 * I cant be sure about that. To be on the safer side, I think we should file the BRFA as it is, and follow your suggestion, ie only create the categories, but do not update the articles, nor the other categories. If it works well, all is fine, but if doesnt, then we can simply run the program to update the articles and/or categories. —usernamekiran (talk) 16:32, 4 June 2023 (UTC)
 * Just to be clear, you are saying we should not update articles/categories for only the "Footballers in " program? And that it could be done at a later point if necessary? S.A. Julio (talk) 16:50, 4 June 2023 (UTC)
 * yes, I apologise for the ambiguity in my previous comment, and lol, I am a little silly, but not that much of an idiot 5 If we follow your suggestion for all the programs, then in the end, all we will have are empty categories —usernamekiran (talk) 16:59, 4 June 2023 (UTC)
 * Alright, sounds all good to me. S.A. Julio (talk) 17:02, 4 June 2023 (UTC)
 * I have also updated the "function overview" at User:Usernamekiran/footballer categories (for BRFA), would you kindly take a look at it? —usernamekiran (talk) 17:03, 3 June 2023 (UTC)
 * Looks good to me! S.A. Julio (talk) 14:12, 4 June 2023 (UTC)


 * —usernamekiran (talk) 17:10, 4 June 2023 (UTC)
 * Hi. I made 100 edits using the bot. Would you please check a few random edits to make sure they are okay? The details are at Bots/Requests for approval/KiranBOT 7. Thanks. —usernamekiran (talk) 03:33, 2 July 2023 (UTC)

subcat task

 * Hi. I test ran the subcat program, and got these 6 edits:, , , , , and . But the program exited after the 6 edits. Would you please check if the 6 edits are as expected, and if there are some undesired changes, or changes that should have been? —usernamekiran (talk) 13:11, 9 July 2023 (UTC)
 * Looks all good! S.A. Julio (talk) 14:44, 9 July 2023 (UTC)
 * The bot has finished updating the articles, there are around 1500 articles which were skipped because they had categories containing "women", but most of them are false positives like Dick Advocaat, which has category Netherlands women's national football team managers. I will see if I can update these categories using AWB, or maybe we can simply remove the condition of "women". Also The bot has almost finished editing the categories, but there are two categories that should have been populated earlier: Category:British expatriate men's footballers, and Category:Expatriate men's footballers in the United Kingdom. Would you kindly take a look at these two categories? —usernamekiran (talk) 13:39, 10 July 2023 (UTC)
 * one more: Category:Korean men's footballers. —usernamekiran (talk) 14:08, 10 July 2023 (UTC)
 * all the skipped pages (5 had "nobots" on them): User:KiranBOT/football/log 2 —usernamekiran (talk) 15:37, 10 July 2023 (UTC)
 * I've now populated the categories. Thank you for all your work on this project, it has been really appreciated! Regarding the skipped pages, it appears you've finished updating the categories? S.A. Julio (talk) 13:14, 12 July 2023 (UTC)
 * Sorry, forgot to ping you . S.A. Julio (talk) 14:49, 17 July 2023 (UTC)