Wikipedia:Bots/Requests for approval/Addbot 25


 * 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 oppose vote.svg Withdrawn by operator.

Addbot 25
Operator:

Time filed: 16:17, Saturday March 3, 2012 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): PHP

Source code available: If requested

Function overview: Trying to keep WP:BOT/STATUS up to date

Links to relevant discussions (where appropriate): None (Bot Status talk page maybe counts)

Edit period(s): daily

Estimated number of pages affected: 3 pages
 * $page['inactive'] = "Wikipedia:Bots/Status/inactive_bots";
 * $page['active'] = "Wikipedia:Bots/Status/active_bots";
 * $page['counts'] = "Template:Botstats";

Exclusion compliant (Y/N): N

Already has a bot flag (Y/N): Y

Function details:


 * Getting the status pages
 * Creating a list of all bots and their current status from this page


 * Adding any new bots from Category:Active_Wikipedia_bots


 * Adding any new bots from Category:All_Wikipedia_bots


 * Sorting the list


 * Removing duplicates


 * Triming whitespace


 * Every week the bot will attempt to find the bot owners for bots that have no owner listed from the bots user page


 * Split the main list up and post back to the two sub pages

I propose to be able to add extra checks e.t.c to the bot as long as the only page edited is the status page (as above) e.g. Finding task descriptions from user pages
 * Update Template:Botstats

Discussion

 * This all makes sense, but doesn't AnomieBot already take care of some of this stuff? Or was it some other bot? Headbomb {talk / contribs / physics / books} 22:04, 3 March 2012 (UTC)
 * You are thinking of a different page, I am talking about Bots/Status the page AnomieBot edits is BAG/Status  ·Add§hore·  T alk T o M e ! 22:12, 3 March 2012 (UTC)
 * Righto. Well I can't think of any reason why this should be denied, so let's go for trial. You're approved for one full run right now. Headbomb {talk / contribs / physics / books} 22:24, 3 March 2012 (UTC)
 * Please see here this was the only edit that was needed to be made during this run.  ·Add§hore·  T alk T o M e ! 19:50, 4 March 2012 (UTC)
 * What about the 21 other edits made to Bots/Status/inactive bots, or bots 17 edits made to Bots/Status/active_bots, or 12 edits made to Template:Botstats? Most of which done before trial? Headbomb {talk / contribs / physics / books} 20:05, 4 March 2012 (UTC)
 * All edits up to now should have been preformed through my main account as the edits are more 'assisted' than 'automatic'. They can be considered in the Trial if needed and I can go through explaining each edit as extras were added to the bot. Please note the BotStats template was originally a bot page before being CP moved.  ·Add§hore·  T alk T o M e ! 23:15, 4 March 2012 (UTC)

Questions: Headbomb {talk / contribs / physics / books} 03:16, 5 March 2012 (UTC)
 * How exactly does the bot detect an unapproved bot?
 * Also listing them as unapproved bots seem to break the table. That should be fixed.
 * How exactly does the bot detect bots in trial?
 * How does the bot fetch small descriptions such as ?
 * Bots/Status/active_bots lists BG19bot_2 as an active bot. However, no such bot exists. What gives?

Some more questions/remarks. Headbomb {talk / contribs / physics / books} 01:20, 6 March 2012 (UTC)
 * Some things could be tweaked a bit.
 * Add the date of the bot's last edit
 * "1 F·B" could be "1 · F · B" (fixed it myself)
 * Fix the display of BotS when bots are unapproved
 * The 7SeriesBOT links in Bots/Status/active bots are messed up (fixed it myself)

Processes:

This is probably the easiest way to answer this.  ·Add§hore·  T alk T o M e ! 01:07, 6 March 2012 (UTC)
 * Load the bot lists as they currently stand
 * Get Category:Active_Wikipedia_bots and add these to active bots
 * Get Category:All_Wikipedia_bots and add these bots to list
 * Check the bot page for the bot template and a bot infobox and parse info from there
 * The status that is in the bot template will overwrite any currently in the list
 * The description of task will be parsed from the info box if no description is currently present
 * If no owner is in the bot list it will also try and get this
 * Stick the list back together and post as well as counting for the stats template.
 * These tasks will probably change slightly as I further merge the registered bots page with the bot status page and include other inputs for bots but in essence the processes will stay the same.  ·Add§hore·  T alk T o M e ! 01:11, 6 March 2012 (UTC)

Changes from trial run:  ·Add§hore·  T alk T o M e ! 01:13, 6 March 2012 (UTC) Further responses to Some more questions/remarks
 * Make the bot check to see if the user accounts in the list actually exist on wiki.
 * Make the bot get the list of account with the bot flag and add these to the list if they are not already there.
 * If the status of the bot does not equal active or inactive set it to inactive (this is until further changes are made to the status page such as including extra sections for bots in trial e.t.c
 * The date of the bots last edit is something that I was thinking of adding and can easily be done.
 * The links section could be altered slightly, if anything this is more a bit of the BotS template editing that the bot
 * As said below I plan on changing any status that is not equal to inactive or active to inactive until the status page expands and changes in such a way it can incorporate extra sections such as trial and unapproved.


 * I dont really see how the links are messed up, I have removed the link anyway as it is linked to already, this could be another simple cleanup job for the bot.

 ·Add§hore·  T alk T o M e ! 01:27, 6 March 2012 (UTC)


 * Alright, well here's the thumbs up for another run. Run it whenever you feel you've spit-shined things enough. Headbomb {talk / contribs / physics / books} 01:47, 6 March 2012 (UTC)
 * This will probably be in the next few days  ·Add§hore·  T alk T o M e ! 01:49, 6 March 2012 (UTC)
 * This may have to go on hold for a few more days as something has gone and messed itself up a bit, see Bots/Status  ·Add§hore·  T alk T o M e ! 14:13, 9 March 2012 (UTC)
 * Still waiting pending a little bit of discussion here  ·Add§hore·  T alk T o M e ! 17:28, 18 March 2012 (UTC)
 * What's the skinny? Josh Parris 02:57, 29 March 2012 (UTC)
 * I think this should be closed up until the point that I rewrite the bot to allow for the restrictions imposed by mediawiki.  ·Add§hore·  T alk T o M e ! 10:12, 12 April 2012 (UTC)
 * I think this should be closed up until the point that I rewrite the bot to allow for the restrictions imposed by mediawiki.  ·Add§hore·  T alk T o M e ! 10:12, 12 April 2012 (UTC)

Okay, without prejudicing future re-opening, Josh Parris 10:48, 12 April 2012 (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.