Wikipedia:Bots/Requests for approval/WolfBot 6


 * 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 Symbol neutral vote.svg Request Expired.

WolfBot 6
Operator:

Time filed: 00:16, Wednesday December 19, 2012 (UTC)

Automatic, Supervised, or Manual: Supervised

Programming language(s): Python

Source code available: on GitHub

Function overview: Perform cleanup on pages and categories related to meteorites and their talk pages.

Links to relevant discussions (where appropriate): Bot requests/Archive 51

Edit period(s): One time run

Estimated number of pages affected: Unknown (6 pages/minute max)

Exclusion compliant (Yes/No):

Already has a bot flag (Yes/No): Yes

Function details: Recursively descends through the Category:Meteorites tree, performing the following tasks:


 * Articles:
 * Adds WikiProject Geology to the talk page if it's not already there
 * Sets the following parameters of WikiProject Geology:
 * If the article is a stub and does not already have a category, set cat=Stub and auto=Yes
 * If the article has does not have an infobox, set needs-infobox=Yes
 * Set meteorite=Yes
 * If there isn't a meteorite-importance param, add an empty one.
 * If the article is in Category:Meteorites found in country, add to the talk page, with class=Stub|auto=Yes if it's a stub
 * If the page is considered a stub, add Meteorite-stub, replacing Stub or meteoroid-stub if they are already in the article.
 * Make cosmetic changes to the source code using PyWikipediaBot's cosmetic_changes.py
 * Categories: Add WikiProject Geology, and set class=Cat if it's not already set.

Discussion
Typo in step 2.2. It should read: "if the article does not have an infobox..." -Arb. (talk) 14:10, 19 December 2012 (UTC)
 * Fixed &mdash; Wolfgang42 (talk) 20:22, 20 December 2012 (UTC)

Looks like a good bot task; requested, discussed, posted for interested parties to comment, finite scope, useful. --68.107.131.23 (talk) 22:19, 21 December 2012 (UTC)

 MBisanz  talk 22:59, 21 December 2012 (UTC)
 * It made more than 50 edits; the latest 50 (made December 24th) are the relevant ones. The earlier ones were made when I accidentally let the bot loose on the real wiki before it was debugged, and have been fixed where necessary. &mdash; Wolfgang42 (talk) 22:16, 24 December 2012 (UTC)

I forgot to mention the handling of stub tags in the article; I added this to the function details above. &mdash; Wolfgang42 (talk) 18:09, 24 December 2012 (UTC)

That was a good test run with a few issues naturally (is this the place to list them?). In no particular order: Other than that it's looking real good! -Arb. (talk) 00:17, 25 December 2012 (UTC)
 * Talk:Campo del Cielo, duplicate added (diff).
 * Buzzard Coulee meteorite 1, added even though the article is C-class (articles are rated to the highest assessment template on the talk page; at the time of writing there were three: Stub, Start and C!) (diff).
 * Buzzard Coulee meteorite 2, added the after the Interlanguage links; per WP:Order it should come after Categories but before the Interlanguage links. (diff).
 * Talk:Bovedy (meteorite) 1, added ; this is correct per the spec but  in this case  and  are both already present so UK is over doing it. Not worth much effort though. If any more crop up I'll fix them manually (diff).
 * Talk:Bovedy (meteorite) 2, this page uses so the the bot should place any assessment templates it adds inside the wrapper. For bonus points add the wrapper whenever a talk page contains three or more assessment templates after the bot has completed the rest of its work on the page (diff).

I've fixed the above pages manually so you will have to use the diffs to see the issues. -Arb. (talk) 01:00, 25 December 2012 (UTC)

I'll work on fixing these problems starting after Christmas. In order to fix problem #3, I'll also be running the page text through PyWikipediaBot's cosmetic_changes.py (in fact, I may make the entire bot use the PyWikipediaBot framework), so I added that to the task list. &mdash; Wolfgang42 (talk) 04:48, 25 December 2012 (UTC)
 * Great, thanks for the updates. Just let us know when you're ready for another trial.  MBisanz  talk 01:07, 31 December 2012 (UTC)
 * Status update: I suddenly wound up in a large project In Real Life (wow! that exists?), and now I've been sick for nearly a week. I hope to finish coding the changes partway through the week after next. I apologize for taking so long! &mdash; Wolfgang42 (talk) 02:15, 18 January 2013 (UTC)
 * Just checking in.  MBisanz  talk 19:14, 16 February 2013 (UTC)
 * Poke.  MBisanz  talk 22:48, 6 March 2013 (UTC)
 *  MBisanz  talk 22:56, 19 March 2013 (UTC)
 * 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.