Wikipedia:Bots/Requests for approval/PotatoBot
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA. The result of the discussion was Approved.
Operator: Anypodetos (talk · contribs)
Automatic or Manually assisted: Automatic, unsupervised
Programming language(s): Python, using PyWikipediabot
Source code available: User:PotatoBot/Code
Function overview: Create redirects to asteroid articles (which have titles like 49109 Agnesraab, i. e. including the number) from the simple names (e. g. Agnesraab).
Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Astronomical objects#Names of asteroid articles
Edit period(s): One time run
Estimated number of pages affected: Creation of not more than 14,500 redirects (total number of pages in Category:Asteroid stubs plus sub-categories), probably much less; no existing pages affected
Exclusion compliant (Y/N): No, since no existing pages will be edited
Already has a bot flag (Y/N): (No)
Function details: Iterates through the articles in Category:Asteroid stubs, including its sub-categories. Creates redirects for all articles with titles in the format <number><space><anything> or "("<number>")"<space><anything>, omitting possible non-asteroid articles and unnamed asteroids like (115485) 2003 UR19. If a page with the title already exists (e. g. Toutatis for 4179 Toutatis), it is not affected. Instead, an entry in the list User:PotatoBot/Lists/Asteroids without redirects [currently containing test output] is created for later – manual or bot-assisted – inspection.
Discussion
[edit]Would it be appropriate to tag these redirects with {{R from incorrect name}}? Josh Parris 04:32, 13 April 2010 (UTC)[reply]
- The present code uses {{R from short name}}. The name is not actually incorrect, it just omits the running number. --ἀνυπόδητος (talk) 07:35, 13 April 2010 (UTC)[reply]
What about pages like UAO-DLR Asteroid Survey? Snowolf How can I help? 00:46, 14 April 2010 (UTC)Nvm. Snowolf How can I help? 00:48, 14 April 2010 (UTC)[reply]- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — The Earwig (talk) 21:38, 16 April 2010 (UTC)[reply]
- Trial complete. Contributions: Special:Contributions/PotatoBot. Looks fine. --ἀνυπόδητος (talk) 12:49, 17 April 2010 (UTC)[reply]
- Approved. I agree. Good luck! Tim1357 (talk) 01:46, 19 April 2010 (UTC)[reply]
- Trial complete. Contributions: Special:Contributions/PotatoBot. Looks fine. --ἀνυπόδητος (talk) 12:49, 17 April 2010 (UTC)[reply]
- Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — The Earwig (talk) 21:38, 16 April 2010 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at WT:BRFA.