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

DeltaQuadBot
Operator:

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
Should have the code ready for viewing within the next 24 hours. Sorry for the delay. -- &#47; MWOAP &#124; Notify Me &#92; 16:42, 17 April 2010 (UTC)
 * ✅ Code is up. -- &#47; MWOAP &#124; Notify Me &#92; 19:54, 17 April 2010 (UTC)


 * 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.  fetch  comms  ☛ 21:46, 19 April 2010 (UTC)
 * Ok, toolserver is an idea, I just have to modify the code to run every 30 min. Will be done within the night. -- &#47; MWOAP &#124; Notify Me &#92; 22:52, 19 April 2010 (UTC) Wasn't needed, will cron.

BAGAssistanceNeeded Untouched by BAG since 17th. -- &#47; MWOAP &#124; Notify Me &#92; 20:47, 26 April 2010 (UTC)

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.-- &#47; MWOAP &#124; Notify Me &#92; 19:51, 28 April 2010 (UTC)
 * . – xeno talk 20:50, 26 April 2010 (UTC)
 * Typical in my first act as a BAGger, I would miss something obvious like that =) – xeno talk 21:08, 28 April 2010 (UTC)
 * ✅ Now, only moves pages that don't have CSD or fall under CSD G11, A7, and A9. See Ver. 1.01 -- &#47; MWOAP &#124; Notify Me &#92; 20:44, 28 April 2010 (UTC)

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)
 * 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. -- &#47; MWOAP &#124; Notify Me &#92; 19:00, 16 May 2010 (UTC)

✅ 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 :) ) -- &#47; MWOAP &#124; Notify Me &#92; 20:50, 20 May 2010 (UTC)


 * . Let's see a bit more of an extended trial with the new codebase. – xeno talk 20:53, 20 May 2010 (UTC)
 * 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. -- &#47; MWOAP &#124; Notify Me &#92; 20:56, 20 May 2010 (UTC)
 * That's fine... – xeno talk 20:57, 20 May 2010 (UTC)


 * 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. -- &#47; MWOAP.alt &#124; Notify Me &#92; 15:19, 21 May 2010 (UTC)

How's this going? Josh Parris 02:28, 31 May 2010 (UTC)
 * Currently, the bot is healthy after making a few changes to stop the bot from moving created pages back. Waiting to test more. -- &#47; MWOAP &#124; Notify Me &#92; 01:31, 2 June 2010 (UTC)
 * 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. -- &#47; MWOAP.alt &#124; Notify Me &#92; 15:13, 2 June 2010 (UTC)


 * 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? -- &#47; DeltaQuad &#124; Notify Me &#92; 02:41, 4 June 2010 (UTC)
 * The bot has been prevented from moving pages several times by the edit filter - I assume that's it. A le_Jrb talk  19:35, 8 June 2010 (UTC)


 * 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)
 * 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. -- &#47; DeltaQuad &#124; Notify Me &#92; 20:50, 13 June 2010 (UTC)
 * Hey MWOAP, its been over a month. Hows it going? Tim  1357  talk  23:27, 16 July 2010 (UTC)
 * 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. -- &#47; DeltaQuad &#124; Notify Me  &#92; 17:03, 21 July 2010 (UTC)
 * 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. -- &#47; DeltaQuad &#124; Notify Me  &#92; 17:30, 21 July 2010 (UTC)
 * Ok, that's good, any new updates for us?  MBisanz  talk 14:52, 28 July 2010 (UTC)
 * 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. -- &#47; DeltaQuad &#124; Notify Me  &#92; 15:07, 28 July 2010 (UTC)
 * 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)

I noticed the bot is making some dumb mistakes (e.g. 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. &mdash; Martin (MSGJ · talk) 08:10, 9 August 2010 (UTC)
 * 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. -- &#47; DeltaQuad &#124; Notify Me  &#92; 11:46, 9 August 2010 (UTC)
 *  MBisanz  talk 04:49, 10 August 2010 (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.