Wikipedia:Bots/Requests for approval/DeltaQuadBot
- 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: DeltaQuad (talk · contribs)
Automatic or Manually assisted: Automatic, with a look over contribs everyonce in a while.
Programming language(s): Python
Source code available: Pywikipedia, source:
Version 1.0
Version 1.01 Fixing CSD errors, and not moving some CSDs
Version 1.1 Fixing redirect Errors & CSD tagging
Function overview: Will move WP:AFC Submissions to the correct pages for us to review.
Links to relevant discussions (where appropriate): None.
Edit period(s): once every 30 min (pending approval on Toolsever)
Estimated number of pages affected: 1 month maybe 20-30
Exclusion compliant (Y/N): No, as bots should be all WP:AFC subpages, as EarwigBot also checks for copyright vios on those pages.
Already has a bot flag (Y/N): N
Function details: If it finds submissions with the extra wording in it, or it's in the namespace, and moves them to the proper location. It will also tag submissions, if moving across anything besides namespaces 4 & 5, will tag with CSD R2.
Old links:
Discussion
editShould have the code ready for viewing within the next 24 hours. Sorry for the delay. -- /MWOAP|Notify Me\ 16:42, 17 April 2010 (UTC)[reply]
- Done Code is up. -- /MWOAP|Notify Me\ 19:54, 17 April 2010 (UTC)[reply]
- From what I've seen working in AfC, there aren't that many misplaced pages which aren't already moved to the correct place quickly by anyone watching the category. If this could run off the toolserver continuously or something, it might be more effective. fetchcomms☛ 21:46, 19 April 2010 (UTC)[reply]
Ok, toolserver is an idea, I just have to modify the code to run every 30 min. Will be done within the night. -- /MWOAP|Notify Me\ 22:52, 19 April 2010 (UTC)Wasn't needed, will cron.[reply]
{{BAGAssistanceNeeded}} Untouched by BAG since 17th. -- /MWOAP|Notify Me\ 20:47, 26 April 2010 (UTC)[reply]
- Approved for trial (15 pages). Please provide a link to the relevant contributions and/or diffs when the trial is complete.. –xenotalk 20:50, 26 April 2010 (UTC)[reply]
Error Occured: The bot attempted to move the pages, but was not confirmed and failed there (has been confirmed now). Also, I am now adding CSD clearing from the mainspace as AFC's do not need to be CSD'd. Will try some more edits when the next opertunity comes up. This is one of the fails, the other one was deleted.-- /MWOAP|Notify Me\ 19:51, 28 April 2010 (UTC)[reply]
- Typical in my first act as a BAGger, I would miss something obvious like that =) –xenotalk 21:08, 28 April 2010 (UTC)[reply]
- Done Now, only moves pages that don't have CSD or fall under CSD G11, A7, and A9. See Ver. 1.01 -- /MWOAP|Notify Me\ 20:44, 28 April 2010 (UTC)[reply]
I'm pleased to note that the bot continues with the trail, several edits have happened in the last few days. Josh Parris 09:50, 15 May 2010 (UTC)[reply]
- Working Yep, it is still ongoing, I have found some problems and have fixed them each step of the way, but there have been delays since it is hard to find mis-placed submissions while I am on. I should have the modified code uploaded soon. Thank you for waiting. Now, do you want 15 correct edits or 15 edits? I would like to be able to have it edit until it gets it right, which I am close to, and I always sight each change it makes. -- /MWOAP|Notify Me\ 19:00, 16 May 2010 (UTC)[reply]
Done I have uploaded the final version of my code. One thing that I can't avoid is when the bot moves a page from the userspace, it only removes the "User:" part of it. This can be easily dealt with by a reviewer at the end, if it even gets that far. I tried to find a way to program it in, but I couldn't. Otherwise I'd say this thing is ready to go. (I've been over 15 edits and the past three are perfect :) ) -- /MWOAP|Notify Me\ 20:50, 20 May 2010 (UTC)[reply]
- Approved for trial (25 pages). Please provide a link to the relevant contributions and/or diffs when the trial is complete.. Let's see a bit more of an extended trial with the new codebase. –xenotalk 20:53, 20 May 2010 (UTC)[reply]
- Ok, just a head's up, another 25 edits are going to take a while as I don't have it on 24-7, and I can only do it a certain times. Toolsever hasn't been approved yet. -- /MWOAP|Notify Me\ 20:56, 20 May 2010 (UTC)[reply]
- That's fine... –xenotalk 20:57, 20 May 2010 (UTC)[reply]
- Heads up, I was moding the code this morning to correct a userspace compaitibility issue, and I made a stupid mistake in the code. It created two mistakes which I got an admin to fix and I stopped it before it went further. Just thought I would log this. -- /MWOAP.alt|Notify Me\ 15:19, 21 May 2010 (UTC)[reply]
How's this going? Josh Parris 02:28, 31 May 2010 (UTC)[reply]
- Currently, the bot is healthy after making a few changes to stop the bot from moving created pages back. Waiting to test more. -- /MWOAP|Notify Me\ 01:31, 2 June 2010 (UTC)[reply]
- Bot again had an issue. Added some extra safety paramitters to the code so it doesn't edit if there is an error. Should be uploaded soon. -- /MWOAP.alt|Notify Me\ 15:13, 2 June 2010 (UTC)[reply]
- The bot keeps getting caught in the page moves with the error: "Unknown Error {u'error':{u'info' u'The modification you tried to make was aborted by an extension hook', u'code': u'hookaborted'}}. What is this? -- /DeltaQuad|Notify Me\ 02:41, 4 June 2010 (UTC)[reply]
- The bot has been prevented from moving pages several times by the edit filter - I assume that's it. Ale_Jrbtalk 19:35, 8 June 2010 (UTC)[reply]
- Comment and question: I am not convinced that this bot is a good idea; there are very few misplaced submissions, and they are quite quickly dealt with manually. I think this is a case where manual intervention is preferable - a misplaced submission might need moving to AfC, or it might need other action - discussion with the user, etc. Sometimes they intended to make it live - I've come across such examples. So, to demonstrate the need, could you provide some statistics re. how many misplaced submissions there have been in the past few months, and how many should have / were relocated to AFC? (And please let me know; I don't manage to watchlist things very well) Chzz ► 18:56, 8 June 2010 (UTC)[reply]
- Right now we are recieving multiple Userpages that need to be moved to the correct location so I am working on that to fix it. Currently the bot is going under a rename to DeltaQuadBot, I will update the links. I am working with the username code to get it to work now. I assume that Edit filter hits can still count as edits. -- /DeltaQuad|Notify Me\ 20:50, 13 June 2010 (UTC)[reply]
- Hey MWOAP, its been over a month. Hows it going? Tim1357 talk 23:27, 16 July 2010 (UTC)[reply]
- Sorry, ya, it's been a while. I have had a move recently, sorry for the delay. Trying to get the bot to work, but it won't even launch right now. Will report back in a few days. -- /DeltaQuad|Notify Me\ 17:03, 21 July 2010 (UTC)[reply]
- This is funny, it now works :P. Anyway, it hit an edit conflict on the last one, so adding a sleep parameter now to avoid. -- /DeltaQuad|Notify Me\ 17:30, 21 July 2010 (UTC)[reply]
- Ok, that's good, any new updates for us? MBisanz talk 14:52, 28 July 2010 (UTC)[reply]
- I have added safety sections in, which will check if the file already exists in a certain spot, but that is not functioning for some reason. Still ongoing battle. Also having problem with getting /*username*/ out of titles switched from the userspace. -- /DeltaQuad|Notify Me\ 15:07, 28 July 2010 (UTC)[reply]
- Ok, just let us know when it is resolved so we can approve it or test it more. MBisanz talk 02:56, 1 August 2010 (UTC)[reply]
- I have added safety sections in, which will check if the file already exists in a certain spot, but that is not functioning for some reason. Still ongoing battle. Also having problem with getting /*username*/ out of titles switched from the userspace. -- /DeltaQuad|Notify Me\ 15:07, 28 July 2010 (UTC)[reply]
- Ok, that's good, any new updates for us? MBisanz talk 14:52, 28 July 2010 (UTC)[reply]
- This is funny, it now works :P. Anyway, it hit an edit conflict on the last one, so adding a sleep parameter now to avoid. -- /DeltaQuad|Notify Me\ 17:30, 21 July 2010 (UTC)[reply]
- Sorry, ya, it's been a while. I have had a move recently, sorry for the delay. Trying to get the bot to work, but it won't even launch right now. Will report back in a few days. -- /DeltaQuad|Notify Me\ 17:03, 21 July 2010 (UTC)[reply]
- Hey MWOAP, its been over a month. Hows it going? Tim1357 talk 23:27, 16 July 2010 (UTC)[reply]
I noticed the bot is making some dumb mistakes (e.g. [1] where the username is still included in the new title). I agree with Chzz that this bot is probably not needed as it is easy to cope with the small number of misplaced submissions manually. — Martin (MSGJ · talk) 08:10, 9 August 2010 (UTC)[reply]
- I am actually starting to agree with that. The code is soo long now just to handle these things and it would need more testing in my userspace and I think this is just too much work for the productivity that we are going to get. I think we can close this up now and if I have any more ideas for a bot, I will come back. -- /DeltaQuad|Notify Me\ 11:46, 9 August 2010 (UTC)[reply]
- Withdrawn by operator. MBisanz talk 04:49, 10 August 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.