@S.A. Julio: Hi. —usernamekiran (talk) 15:19, 23 April 2023 (UTC) I got the basic idea of
[[Category:Footballers in <country>|+Men]] [[Category:Men's association football players by country|<country>]]
"[[Category:Footballers in the Isle of Man|+Men]]", and "[[Category:Men's association football players by country|Isle of Man]]"
? or should "Isle of Man" be prefixed with "the"? —usernamekiran (talk) 15:40, 5 May 2023 (UTC)Select [►] to view subcategories
@Usernamekiran: For the sake of clarity, I just added the full list of categories needing to be created on your userpage. No other categories than just the ones I listed need to be modified. Hopefully this should make things somewhat simpler. S.A. Julio (talk) 03:59, 6 May 2023 (UTC)
old_category = Footballers in Dominica
, and new_category = Men's footballers in Dominica
, then would it be okay if we create new category (Men's footballers in Dominica) with content [[old_category|Men]]
? This would add the content as [[Category:Footballers in Dominica|Men]]
, but would this method be okay, or would it cause any undesired edits/combination with some titles? —usernamekiran (talk) 09:58, 6 May 2023 (UTC)
((subst:User:S.A. Julio/Fbcat))
. For example, paste the code into Category:Men's footballers in Germany or Category:Men's soccer players in the United States by club and click "show changes". Would this be useful at all? S.A. Julio (talk) 12:46, 6 May 2023 (UTC)
@S.A. Julio: (continuing the discussion from the thread above) I couldn't find "Category:Juventus F.C. players" on User:Usernamekiran/footballer categories, so I am not sure what it has do with our moves. But if you want to update "Category:Juventus F.C. players" as well, and if we are running a bot to create new categories for men, then wouldn't it be better to create the new categories without transclusion (maybe adding the original categories, or substituting them like User:S.A. Julio/Fbcat)?
Regarding "Footballers in <country> by club" I can easily create a I can easily create a code to capture country from the older category, and add it to new category's body as [[Category:Footballers in <country> by club|+Men]]
. For example, "Category:Footballers in Italy by club" will be moved to "Category:Men's footballers in Italy by club", and it will have the three new categories in content including [[Category:Footballers in Italy by club|+Men]]
Regarding "Category:Juventus F.C. players", if you want to move them as well, I can create a program that create the new category by adding "Men's" as prefix to the older category - "Men's Juventus F.C. players", and create content by removing the "players" from old category's name, ("Category:Juventus F.C." or "Category:Men's Juventus F.C."), the second category can be created by reading the parameter from "Clubplayerscat|Italy", "Men's footballers in Italy by club" or "Footballers in Italy by club" (whatever we need it to be). According to this, the template is transcluded on around 4,499 pages. —usernamekiran (talk) 10:57, 8 May 2023 (UTC)
@S.A. Julio: Hi. When creating the category "Expatriate men's association footballers in the Republic of Ireland", what should its content be?
* ((CatAutoTOC)) [[Category:Expatriate footballers in the Republic of Ireland|+Men]] [[Category:Men's footballers in the Republic of Ireland]] [[Category:Expatriate men's association football players by country of residence|the Republic of Ireland]]
I am not sure if the content above is correct. —usernamekiran (talk) 10:31, 16 May 2023 (UTC)
@S.A. Julio: Hi. But the details at User:Usernamekiran/footballer categories#Expatriate footballers in <country> says (which I followed) the following format should be used:
[[Category:Expatriate footballers in <country>|+Men]] [[Category:Men's footballers in <country>]] [[Category:Expatriate men's association football players by country of residence|<country>]]
Should we use "Expatriate footballers in <country>" or "Expatriate association footballers in <country>"? (same Q for "Men's footballers in <country>" vs "Men's association footballers in <country>") —usernamekiran (talk) 11:47, 17 May 2023 (UTC)
Replaced category for page "User:KiranBOT/sandbox4" [[en:Category:Expatriate men's association footballers in Ireland]] * ((CatAutoTOC)) [[Category:Expatriate association footballers in Ireland|+Men]] [[Category:Men's association footballers in Ireland]] [[Category:Expatriate men's association footballers by country of residence|Ireland]] Replaced category for page "User:KiranBOT/sandbox4" [[en:Category:Expatriate men's association footballers in New Zealand]] * ((CatAutoTOC)) [[Category:Expatriate association footballers in New Zealand|+Men]] [[Category:Men's association footballers in New Zealand]] [[Category:Expatriate men's association footballers by country of residence|New Zealand]] Replaced category for page "User:KiranBOT/sandbox4" [[en:Category:Expatriate men's association footballers in the Republic of Ireland]] * ((CatAutoTOC)) [[Category:Expatriate association footballers in the Republic of Ireland|+Men]] [[Category:Men's association footballers in the Republic of Ireland]] [[Category:Expatriate men's association footballers by country of residence|Republic of Ireland]] Replaced category for page "User:KiranBOT/sandbox4" [[en:Category:Expatriate men's footballers in Albania]] * ((CatAutoTOC)) [[Category:Expatriate footballers in Albania|+Men]] [[Category:Men's footballers in Albania]] [[Category:Expatriate men's association football players by country of residence|Albania]] Replaced category for page "User:KiranBOT/sandbox4" [[en:Category:Expatriate men's footballers in Georgia (country)]] * ((CatAutoTOC)) [[Category:Expatriate footballers in Georgia (country)|+Men]] [[Category:Men's footballers in Georgia (country)]] [[Category:Expatriate men's association football players by country of residence|Georgia (country)]] Replaced category for page "User:KiranBOT/sandbox4" [[en:Category:Expatriate men's soccer players in the United States]] * ((CatAutoTOC)) [[Category:Expatriate men's soccer players in the United States|+Men]] [[Category:Men's soccer players in the United States]] [[Category:Expatriate men's association soccer players by country of residence|United States]] Replaced category for page "User:KiranBOT/sandbox4" [[en:Category:Expatriate men's soccer players in Australia]] * ((CatAutoTOC)) [[Category:Expatriate men's soccer players in Australia|+Men]] [[Category:Men's soccer players in Australia]] [[Category:Expatriate men's association soccer players by country of residence|Australia]]
@S.A. Julio: I made some changes in the program, and tested it. Following is the output of for few categories (the category after the line "Replaced category for page "User:KiranBOT/sandbox4"" is the new category). Is this content okay? —usernamekiran (talk) 02:57, 18 May 2023 (UTC)
@S.A. Julio: Hello. I created User:Usernamekiran/footballer categories/nationalities, these entries are in my source code for pairing/matching "country", and "nationality" with each-other. For example, the program will get nationality as "Algerian" from "Category:Algerian footballers", and then it will pair it up with "Algeria" as country, and then it will substitute the values in content: [[Category:Men's footballers in <country>|<nationality>]]
. Would you kindly go through all the entries at User:Usernamekiran/footballer categories/nationalities, I think I have added all the countries/nationalities that we are currently working with, I might have missed a couple. But I am not sure if I got all the combinations correct. —usernamekiran (talk) 06:29, 9 May 2023 (UTC)
---- [[en:Category:Algerian footballers]] → [[en:Category:Algerian men's footballers]] * ((CatAutoTOC)) [[Category:Algerian footballers|+Men]] [[Category:Algerian sportsmen|Footballers]] [[Category:Men's association football players by nationality|Algerian]] [[Category:Men's footballers in Algeria|Algerian]] ---- [[en:Category:Andorran footballers]] → [[en:Category:Andorran men's footballers]] * ((CatAutoTOC)) [[Category:Andorran footballers|+Men]] [[Category:Andorran sportsmen|Footballers]] [[Category:Men's association football players by nationality|Andorran]] [[Category:Men's footballers in Andorra|Andorran]] ---- [[en:Category:Australian soccer players]] → [[en:Category:Australian men's soccer players]] * ((CatAutoTOC)) [[Category:Australian footballers|+Men]] [[Category:Australian sportsmen|Footballers]] [[Category:Men's association football players by nationality|Australian]] [[Category:Men's footballers in Australia|Australian]] ---- [[en:Category:Republic of Ireland association footballers]] → [[en:Category:Republic of Ireland men's association footballers]] * ((CatAutoTOC)) [[Category:Republic of Ireland footballers|+Men]] [[Category:Republic of Ireland sportsmen|Footballers]] [[Category:Men's association football players by nationality|Republic of Ireland]] [[Category:Men's footballers in Republic of Ireland|Republic of Ireland]] ---- [[en:Category:Footballers from Georgia (country)]] → [[en:Category:Men's footballers from Georgia (country)]] * ((CatAutoTOC)) [[Category:Georgia (country) footballers|+Men]] [[Category:Georgia (country) sportsmen|Footballers]] [[Category:Men's association football players by nationality|Georgia (country)]] [[Category:Men's footballers in Georgia (country)|Georgia (country)]] ---- [[en:Category:Footballers from Réunion]] → [[en:Category:Men's footballers from Réunion]] * ((CatAutoTOC)) [[Category:Réunion footballers|+Men]] [[Category:Réunion sportsmen|Footballers]] [[Category:Men's association football players by nationality|Réunion]] [[Category:Men's footballers in Réunion|Réunion]] ---- [[en:Category:Footballers from the Russian Empire]] → [[en:Category:Men's footballers from the Russian Empire]] * ((CatAutoTOC)) [[Category:Russian Empire footballers|+Men]] [[Category:Russian Empire sportsmen|Footballers]] [[Category:Men's association football players by nationality|Russian Empire]] [[Category:Men's footballers in Russian Empire|Russian Empire]]
I tested the program on the above seven categories, and got these results. I am not sure about the output for Australia, and "soccer" in general. Kindly let me know what do we want as Australia's content, and if we should test it with more categories. There are no actual edits, but I get the content printed on my command prompt. —usernamekiran (talk) 16:43, 19 May 2023 (UTC)
((subst:User:S.A. Julio/Fbcat))
. All the bot would have to do is create the category with that code as the contents, and it would generate all the correct categories. Then you wouldn't have to spend time working on supporting every outlier. S.A. Julio (talk) 20:30, 19 May 2023 (UTC)
---- [[en:Category:Australian soccer players]] → [[en:Category:Australian men's soccer players]] * ((CatAutoTOC)) [[Category:Australian soccer players|+Men]] [[Category:Australian sportsmen|Footballers]] [[Category:Men's association football players by nationality|Australian]] [[Category:Men's soccer players in Australia|Australian]] ---- [[en:Category:Republic of Ireland association footballers]] → [[en:Category:Republic of Ireland men's association footballers]] * ((CatAutoTOC)) [[Category:Republic of Ireland association footballers|+Men]] [[Category:Republic of Ireland sportsmen|Footballers]] [[Category:Men's association football players by nationality|Republic of Ireland]] [[Category:Men's association footballers in the Republic of Ireland|Republic of Ireland]] ---- [[en:Category:Footballers from Georgia (country)]] → [[en:Category:Men's footballers from Georgia (country)]] * ((CatAutoTOC)) [[Category:Footballers from Georgia (country)|+Men]] [[Category:Sportsmen from Georgia (country)|Footballers]] [[Category:Men's association football players by nationality|Georgia]] [[Category:Men's footballers in Georgia (country)|Georgia]] ---- [[en:Category:Footballers from Réunion]] → [[en:Category:Men's footballers from Réunion]] * ((CatAutoTOC)) [[Category:Footballers from Réunion|+Men]] [[Category:Sportsmen from Réunion|Footballers]] [[Category:Men's association football players by nationality|Réunion]] [[Category:Men's footballers in Réunion|Réunion]]
------ [[en:Category:Algerian footballers]] → [[en:Category:Algerian men's footballers]] * ((CatAutoTOC)) [[Category:Algerian footballers|+Men]] [[Category:Algerian sportsmen|Footballers]] [[Category:Men's association football players by nationality|Algerian]] [[Category:Men's footballers in Algeria|Algerian]] -------- [[en:Category:Andorran footballers]] → [[en:Category:Andorran men's footballers]] * ((CatAutoTOC)) [[Category:Andorran footballers|+Men]] [[Category:Andorran sportsmen|Footballers]] [[Category:Men's association football players by nationality|Andorran]] [[Category:Men's footballers in Andorra|Andorran]] -------- [[en:Category:Australian soccer players]] → [[en:Category:Australian men's soccer players]] * ((CatAutoTOC)) [[Category:Australian soccer players|+Men]] [[Category:Australian sportsmen|Footballers]] [[Category:Men's association football players by nationality|Australian]] [[Category:Men's soccer players in Australia|Australian]] -------- [[en:Category:Republic of Ireland association footballers]] → [[en:Category:Republic of Ireland men's association footballers]] * ((CatAutoTOC)) [[Category:Republic of Ireland association footballers|+Men]] [[Category:Republic of Ireland sportsmen|Footballers]] [[Category:Men's association football players by nationality|Republic of Ireland]] [[Category:Men's footballers in Republic of Ireland|Republic of Ireland]] -------- [[en:Category:Footballers from Georgia (country)]] → [[en:Category:Men's footballers from Georgia (country)]] * ((CatAutoTOC)) [[Category:Footballers from Georgia (country)]] [[Category:Sportsmen from Georgia (country)|Footballers]] [[Category:Men's association football players by nationality|Georgia (country)]] [[Category:Men's footballers in Georgia (country)|Georgia (country)]] -------- [[en:Category:Footballers from Réunion]] → [[en:Category:Men's footballers from Réunion]] * ((CatAutoTOC)) [[Category:Footballers from Réunion]] [[Category:Sportsmen from Réunion|Footballers]] [[Category:Men's association football players by nationality|Réunion]] [[Category:Men's footballers in Réunion|Réunion]] -------- [[en:Category:Footballers from the Russian Empire]] → [[en:Category:Men's footballers from the Russian Empire]] * ((CatAutoTOC)) [[Category:Footballers from Russian Empire]] [[Category:Sportsmen from Russian Empire|Footballers]] [[Category:Men's association football players by nationality|Russian Empire]] [[Category:Men's footballers in Russian Empire|Russian Empire]]
@S.A. Julio: Hello. Are the above contents (version 3, I think) of categories okay? —usernamekiran (talk) 23:06, 19 May 2023 (UTC)
------- [[en:Category:Algerian footballers]] → [[en:Category:Algerian men's footballers]] * ((CatAutoTOC)) [[Category:Algerian footballers|+Men]] [[Category:Algerian sportsmen|Footballers]] [[Category:Men's association football players by nationality|Algerian]] [[Category:Men's footballers in Algeria|Algerian]] -------- [[en:Category:Andorran footballers]] → [[en:Category:Andorran men's footballers]] * ((CatAutoTOC)) [[Category:Andorran footballers|+Men]] [[Category:Andorran sportsmen|Footballers]] [[Category:Men's association football players by nationality|Andorran]] [[Category:Men's footballers in Andorra|Andorran]] -------- [[en:Category:Australian soccer players]] → [[en:Category:Australian men's soccer players]] * ((CatAutoTOC)) [[Category:Australian soccer players|+Men]] [[Category:Australian sportsmen|Footballers]] [[Category:Men's association football players by nationality|Australian]] [[Category:Men's soccer players in Australia|Australian]] -------- [[en:Category:Republic of Ireland association footballers]] → [[en:Category:Republic of Ireland men's association footballers]] * ((CatAutoTOC)) [[Category:Republic of Ireland association footballers|+Men]] [[Category:Republic of Ireland sportsmen|Footballers]] [[Category:Men's association football players by nationality|Republic of Ireland]] [[Category:Men's footballers in the Republic of Ireland|Republic of Ireland]] -------- [[en:Category:Footballers from Georgia (country)]] → [[en:Category:Men's footballers from Georgia (country)]] * ((CatAutoTOC)) [[Category:Footballers from Georgia (country)]] [[Category:Sportsmen from Georgia (country)|Footballers]] [[Category:Men's association football players by nationality|Georgia (country)]] [[Category:Men's footballers in Georgia (country)|Georgia (country)]] -------- [[en:Category:Footballers from Réunion]] → [[en:Category:Men's footballers from Réunion]] * ((CatAutoTOC)) [[Category:Footballers from Réunion]] [[Category:Sportsmen from Réunion|Footballers]] [[Category:Men's association football players by nationality|Réunion]] [[Category:Men's footballers in Réunion|Réunion]] -------- [[en:Category:Footballers from the Russian Empire]] → [[en:Category:Men's footballers from the Russian Empire]] * ((CatAutoTOC)) [[Category:Footballers from Russian Empire]] [[Category:Sportsmen from the Russian Empire|Footballers]] [[Category:Men's association football players by nationality|Russian Empire]] [[Category:Men's footballers in the Russian Empire|Russian Empire]] -------- [[en:Category:Republic of the Congo footballers]] → [[en:Category:Republic of the Congo men's footballers]] * ((CatAutoTOC)) [[Category:Republic of the Congo footballers|+Men]] [[Category:Republic of the Congo sportsmen|Footballers]] [[Category:Men's association football players by nationality|Republic of the Congo]] [[Category:Men's footballers in Republic of the Congo|Republic of the Congo]]
@S.A. Julio: Hello. I updated the code, and pasted "version 4" above. Kindly let me know if everything is okay with it, or if we need to do some changes. —usernamekiran (talk) 00:27, 20 May 2023 (UTC)
@S.A. Julio: Hello. I have finished the code for "Footballers in <country>", and "<nationality> footballers". I can not find any issues with the code as for now. I have been very busy in real life, and starting from 15ish hours from now, I should be less busy. The rest of the programs should be ready fairly quickly. I will file the BRFA once all the programs are ready, so that I can start working on all the categories, and the categories would not be eligible for speedy for not being populated. —usernamekiran (talk) 14:11, 14 May 2023 (UTC)