Wikipedia:Bots/Requests for approval/SoxBot V
- The following discussion is an archived debate. Please do not modify it. Subsequent comments should be made in a new section. The result of the discussion was
Approved.
Automatic or Manually Assisted: Automatic
Programming Language(s): PHP, using ClueBot's script.
Function Summary: Clone of User:Chris G Bot 3, the original task.
Edit period(s) (e.g. Continuous, daily, one time run): Continuous
Edit rate requested: maxlag=5. The EPM doesn't matter, as it utilizes the API, without a lot of strain on the server. And, because it's ClueBot script, the page replacement is much faster. Remember that there are a lot of StatusBot users, and speed is everything.
Already has a bot flag (Y/N): N
Function Details: I find 3 things wrong with the IRC StatusBot. 1, it has been kicked multiple times for malfunctioning. 2, Many people who don't use IRC are left in the dark. 3, the Last edit function is lost. This bot fixes all of them. Using the same method as CGB3, it is written in ClueBot script. It updates User:StatusBot/Status/Example for every user in Category:Wikipedians who use StatusBot to "online" or "offline", depending if they have edited in the last 15 minutes. If it marks them as offline, is also updates User:StatusBot/Status/Example/LastEdit.
Discussion
[edit]I've said this to you on irc. This is just not practical. You should use the rc feed, with out that there are just to many users to go through. The bot should monitor the rc feed to update users to online and run a slower version of this script to change them to offline. --Chris 01:22, 22 April 2008 (UTC)[reply]
- I thought of that, and I'll do it later. Soxred93 | talk bot 01:24, 22 April 2008 (UTC)[reply]
- Hmm, I really can't see any way to use the RC feed efficiently, as it will get very far backlogged. With the approximately 3 eps the RC gets, and the 2-3 seconds it takes to process one edit, it just wouldn't be efficient. Soxred93 | talk bot 02:34, 22 April 2008 (UTC)[reply]
- So I'm ready for a trial, the code is done, and we can see how it goes. Soxred93 | talk bot 04:28, 22 April 2008 (UTC)[reply]
- If it were I, I would use the RC feed, and, maybe a hydra-type setup for this, requiring several bots, due to it's scope. However, I would like to see what your code is capable of, and, you seem confident that it will work as designed. Therefore I am trial approving this bot.
Approved for trial (14 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. SQLQuery me! 05:18, 22 April 2008 (UTC)[reply]
- NOTE TO ALL: This account is not autoconfirmed, which the bot framework requires. I will not be editing under SoxBot II until the 4 days is up. Soxred93 | talk bot 07:26, 22 April 2008 (UTC)[reply]
- Ok, I timed one run. 7 minutes, 23 seconds. This includes a 2 minute sleep command, too. That isn't terrible.
- By one 'run' you're referring to updating everybody's in that category status? Q T C 20:20, 22 April 2008 (UTC)[reply]
- By "one run" I mean checking everybody in Category:Wikipedians who use StatusBot once. Soxred93 | talk bot 20:21, 22 April 2008 (UTC)[reply]
- Ah, running good now. It's been a rough start, between being 4 hours off, only getting the first 500 pages in the category, and more, I can't see any more problems. The next 12 days should go smoothly. Soxred93 | talk bot 00:30, 23 April 2008 (UTC)[reply]
- Did you find out the problem? Was there some sort of limit in PHP that would keep it from getting all of the pages? —Coastergeekperson04's talk@May/08/08 03:02
- Ah, running good now. It's been a rough start, between being 4 hours off, only getting the first 500 pages in the category, and more, I can't see any more problems. The next 12 days should go smoothly. Soxred93 | talk bot 00:30, 23 April 2008 (UTC)[reply]
- By "one run" I mean checking everybody in Category:Wikipedians who use StatusBot once. Soxred93 | talk bot 20:21, 22 April 2008 (UTC)[reply]
- By one 'run' you're referring to updating everybody's in that category status? Q T C 20:20, 22 April 2008 (UTC)[reply]
- Ok, I timed one run. 7 minutes, 23 seconds. This includes a 2 minute sleep command, too. That isn't terrible.
- NOTE TO ALL: This account is not autoconfirmed, which the bot framework requires. I will not be editing under SoxBot II until the 4 days is up. Soxred93 | talk bot 07:26, 22 April 2008 (UTC)[reply]
- If it were I, I would use the RC feed, and, maybe a hydra-type setup for this, requiring several bots, due to it's scope. However, I would like to see what your code is capable of, and, you seem confident that it will work as designed. Therefore I am trial approving this bot.
- So I'm ready for a trial, the code is done, and we can see how it goes. Soxred93 | talk bot 04:28, 22 April 2008 (UTC)[reply]
- Hmm, I really can't see any way to use the RC feed efficiently, as it will get very far backlogged. With the approximately 3 eps the RC gets, and the 2-3 seconds it takes to process one edit, it just wouldn't be efficient. Soxred93 | talk bot 02:34, 22 April 2008 (UTC)[reply]
(undent) Yes, the API doesn't allow more that 500 categories, except for flagged bots. Trial way done, {{BAGAssistanceNeeded}} Soxred93 (u t) 01:08, 11 May 2008 (UTC)[reply]
Approved. --uǝʌǝsʎʇɹoɟʇs(st47) 01:38, 11 May 2008 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.