Wikipedia:Bots/Requests for approval/Numberguy6Bot

New to bots on Wikipedia? Read these primers!

Operator: Numberguy6 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 15:48, Sunday, April 21, 2024 (UTC)

Function overview: Sorting Template:Expand language by topic category

Automatic, Supervised, or Manual: Supervised

Programming language(s): Python

Source code available: Self-written; not available yet

Links to relevant discussions (where appropriate):

Edit period(s): Daily

Estimated number of pages affected: 20,000

Namespace(s): Main

Exclusion compliant (Yes/No): Yes

Function details: Goes through pages marked with Template:Expand language, and sorts them by topic, based on categories that the page is in (e.g. "Living people").

Discussion edit

Sort where? Could you please give an example of an edit this bot would make? Primefac (talk) 08:02, 22 April 2024 (UTC)[reply]

[1] Numberguy6 (talk) 15:30, 22 April 2024 (UTC)[reply]
How would it categorise a page such as 1976 in Venezuela? Primefac (talk) 11:58, 30 April 2024 (UTC)[reply]
My bot would not categorize all articles. It would only do the ones where the topic is obvious, e.g. articles in Category:Living people. Numberguy6 (talk) 13:13, 30 April 2024 (UTC)[reply]
  Approved for trial (100 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 11:33, 3 May 2024 (UTC)[reply]
All contributions are under Special:Contributions/Numberguy6Bot. Numberguy6 (talk) 15:38, 3 May 2024 (UTC)[reply]
Trial complete. Numberguy6 (talk) 17:52, 3 May 2024 (UTC)[reply]
I have now fixed the bot so that, if the template contains a blank or invalid "topic" parameter, the bot deletes it (instead of letting there be duplicate parameters). Numberguy6 (talk) 16:01, 5 May 2024 (UTC)[reply]