Wikipedia:Bots/Requests for approval/BattyBot 61
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: GoingBatty (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 17:18, Tuesday, September 21, 2021 (UTC)
Function overview: In various person infoboxes, change values in the |nationality=
field from country names to nationalities.
Automatic, Supervised, or Manual: Automatic
Programming language(s): AutoWikiBrowser
Source code available: AWB, User:BattyBot/Nationality
Links to relevant discussions (where appropriate): Wikipedia:AutoWikiBrowser/Tasks#Template:Infobox writer
Edit period(s): Monthly run
Estimated number of pages affected: Thousands initially
Namespace(s): Mainspace/Articles
Exclusion compliant (Yes/No): Yes
Function details: In various person infoboxes, change values in the |nationality=
field from country names to nationalities (e.g. United Kingdom or [[United Kingdom]] → British, United States or [[United States]] → American). I created a list of infoboxes and countries/nationalities at User:BattyBot/Nationality. Also run AWB's general fixes when updating the field. GoingBatty (talk) 17:18, 21 September 2021 (UTC)
Discussion
- Seems reasonable to me, but I'd suggest advertising this on the template talk and ideally some kind of content venue (perhaps BLPN or the WikiProject for biographies). ProcrastinatingReader (talk) 18:51, 21 September 2021 (UTC)
- @ProcrastinatingReader: Advertised at Template talk:Infobox person, Wikipedia:Biographies of living persons/Noticeboard, and Wikipedia talk:WikiProject Biography, per your request. GoingBatty (talk) 19:39, 21 September 2021 (UTC)
- (editor from WikiProject Biography} I see that this would be a good candidate for a bot task, as it's defined find and replace rules essentially. No issues from me. Dreamy Jazz talk to me | my contributions 19:56, 21 September 2021 (UTC)
- Not sure about updating a parameter that is usually mis-used per WP:INFONAT. It's usually redundant and should be removed. MB 20:27, 21 September 2021 (UTC)
- You raise a good point. I don't see that the bot task itself adds to the problem of the mis-using. Perhaps this bot task, another bot task or just an editor could go round and remove the nationality parameter if it's the same as the one listed in the birthplace? If this is run before this bot task, then it would significantly reduce the number of pages the bot edits where the nationality parameter is later removed. However, I don't see the issue of the parameter being mis-used as a major problem preventing this task from being good. I think this because I see this as a small and minor change, which only improves the page. Dreamy Jazz talk to me | my contributions 10:37, 22 September 2021 (UTC)
- Just pointing this out to generate discussion. Nothing wrong per se with this proposal. But to remove the nationality, a bot would have to have the logic to determine, for example,
|nationality=American
can be removed if|birth_place=United States
. It may be preferable to handle this with one bot as you suggested. Editors who are aware of this do remove nationality manually, and other editors sometimes put it back; there are probably tens of thousands of articles where it is there unnecessarily. A bot would help in this cleanup effort. Another minor point is UK/US/U.S are sometimes used; can those be added to the table? MB 16:26, 22 September 2021 (UTC)- @MB and Dreamy Jazz: Before a bot removes redundant
|nationality=
values, I suggest updating the various template instructions to specify not to add a value if it's redundant. I updated User:BattyBot/Nationality with variations of US & UK. GoingBatty (talk) 16:40, 22 September 2021 (UTC)
- @MB and Dreamy Jazz: Before a bot removes redundant
- Just pointing this out to generate discussion. Nothing wrong per se with this proposal. But to remove the nationality, a bot would have to have the logic to determine, for example,
- You raise a good point. I don't see that the bot task itself adds to the problem of the mis-using. Perhaps this bot task, another bot task or just an editor could go round and remove the nationality parameter if it's the same as the one listed in the birthplace? If this is run before this bot task, then it would significantly reduce the number of pages the bot edits where the nationality parameter is later removed. However, I don't see the issue of the parameter being mis-used as a major problem preventing this task from being good. I think this because I see this as a small and minor change, which only improves the page. Dreamy Jazz talk to me | my contributions 10:37, 22 September 2021 (UTC)
- Not sure about updating a parameter that is usually mis-used per WP:INFONAT. It's usually redundant and should be removed. MB 20:27, 21 September 2021 (UTC)
- (editor from WikiProject Biography} I see that this would be a good candidate for a bot task, as it's defined find and replace rules essentially. No issues from me. Dreamy Jazz talk to me | my contributions 19:56, 21 September 2021 (UTC)
- @ProcrastinatingReader: Advertised at Template talk:Infobox person, Wikipedia:Biographies of living persons/Noticeboard, and Wikipedia talk:WikiProject Biography, per your request. GoingBatty (talk) 19:39, 21 September 2021 (UTC)