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 Withdrawn by operator.
Operator: Addshore (talk · contribs)
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
- Update Template:Botstats
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
Discussion
[edit]- 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)[reply]
- You are thinking of a different page, I am talking about Wikipedia:Bots/Status the page AnomieBot edits is Wikipedia:BAG/Status ·Add§hore· Talk To Me! 22:12, 3 March 2012 (UTC)[reply]
- Approved for trial (1 run). Please provide a link to the relevant contributions and/or diffs when the trial is complete. 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)[reply]
- Trial complete. Please see here this was the only edit that was needed to be made during this run. ·Add§hore· Talk To Me! 19:50, 4 March 2012 (UTC)[reply]
- What about the 21 other edits made to Wikipedia:Bots/Status/inactive bots, or bots 17 edits made to Wikipedia: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)[reply]
- 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· Talk To Me! 23:15, 4 March 2012 (UTC)[reply]
- What about the 21 other edits made to Wikipedia:Bots/Status/inactive bots, or bots 17 edits made to Wikipedia: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)[reply]
- Trial complete. Please see here this was the only edit that was needed to be made during this run. ·Add§hore· Talk To Me! 19:50, 4 March 2012 (UTC)[reply]
- Approved for trial (1 run). Please provide a link to the relevant contributions and/or diffs when the trial is complete. 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)[reply]
Questions:
- 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|DavidWSBot|2D|inactive|Notifies sysops of unblock requests.}}?
- Wikipedia:Bots/Status/active_bots lists BG19bot_2 as an active bot. However, no such bot exists. What gives?
Headbomb {talk / contribs / physics / books} 03:16, 5 March 2012 (UTC)[reply]
Some more questions/remarks.
- 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 Wikipedia:Bots/Status/active bots are messed up (fixed it myself)
Headbomb {talk / contribs / physics / books} 01:20, 6 March 2012 (UTC)[reply]
Processes:
This is probably the easiest way to answer this.
- 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.
·Add§hore· Talk To Me! 01:07, 6 March 2012 (UTC)[reply]
- 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· Talk To Me! 01:11, 6 March 2012 (UTC)[reply]
Changes from trial run:
- 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
·Add§hore· Talk To Me! 01:13, 6 March 2012 (UTC) Further responses to Some more questions/remarks[reply]
- 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· Talk To Me! 01:27, 6 March 2012 (UTC)[reply]
- Approved for extended trial (1 run). Please provide a link to the relevant contributions and/or diffs when the trial is complete. 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)[reply]
- This will probably be in the next few days ·Add§hore· Talk To Me! 01:49, 6 March 2012 (UTC)[reply]
- This may have to go on hold for a few more days as something has gone and messed itself up a bit, see Wikipedia:Bots/Status ·Add§hore· Talk To Me! 14:13, 9 March 2012 (UTC)[reply]
- Still waiting pending a little bit of discussion here ·Add§hore· Talk To Me! 17:28, 18 March 2012 (UTC)[reply]
- A user has requested the attention of the operator. Once the operator has seen this message and replied, please deactivate this tag. (user notified)
- What's the skinny? Josh Parris 02:57, 29 March 2012 (UTC)[reply]
- 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· Talk To Me! 10:12, 12 April 2012 (UTC)[reply]
- Still waiting pending a little bit of discussion here ·Add§hore· Talk To Me! 17:28, 18 March 2012 (UTC)[reply]
- This may have to go on hold for a few more days as something has gone and messed itself up a bit, see Wikipedia:Bots/Status ·Add§hore· Talk To Me! 14:13, 9 March 2012 (UTC)[reply]
- This will probably be in the next few days ·Add§hore· Talk To Me! 01:49, 6 March 2012 (UTC)[reply]
- Approved for extended trial (1 run). Please provide a link to the relevant contributions and/or diffs when the trial is complete. 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)[reply]
Okay, without prejudicing future re-opening, Withdrawn by operator. Josh Parris 10:48, 12 April 2012 (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.