Jump to content

Wikipedia:Bots/Requests for approval/BattyBot 61

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by GoingBatty (talk | contribs) at 16:40, 22 September 2021 (Discussion: reply). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

New to bots on Wikipedia? Read these primers!

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)[reply]

Discussion

@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)[reply]
(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)[reply]
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)[reply]
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)[reply]
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)[reply]
@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)[reply]