Wikipedia:Bots/Requests for approval/SPCUClerkbot 3


 * 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 Symbol neutral vote.svg Request Expired.

SPCUClerkbot 3
Operator: ——  nix eagle email me

Automatic or Manually Assisted: Automatic

Programming Language(s): Perl

Function Overview: Modifies all existing checkuser/sockpuppet related templates to one single template: sockpuppet with correctly named parameters.

Edit period(s): one time, may have to run periodically depending on use of depreciated templates.

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

Function Details: See latest discussion. Essentially every template used to tag socks will get renamed to one template with correct parameters. The older templates don't use named parameters so they are difficult to modify. This is needed to get the templates working correctly with WP:SPI etc. No visible changes will be seen and impact on users will be minimal. They can either use the one template for everything or if they use the deprecated ones, we can have the bot move them over every few weeks depending on usage level. Additional for WP:SPI cases the bot will be automatically tagging blocked socks in the future using the new template. ——  nix eagle email me 16:20, 3 May 2009 (UTC)

Discussion
Okay, let's try it that way and see how it looks. – Quadell (talk) 14:01, 13 May 2009 (UTC)
 * Please note that the task is near ready to run, we are awaiting some manual checks of pages that are not yet modified by the bot. I have already done fairly extensive testing without edits, and know which pages will and will not be modified. Once we get all the mappings correct (we missed a few that the bot found) we would like to do this all in one run fairly quickly as once we change over the new sockpuppet template things will be fairly broken until the bot does everything.
 * As a result of the "one time" nature (we need all done at the same time) I'd like to bypass the standard do X edits and wait for bag approval of the task, instead I'd like to give you guys a text document (I'll stick on toolserver) and allow you guys to review the changes the bot *would* make if it were editing (eg run the bot, do everything *but* editing and let you review what its doing). Once that is approved and all looks good, I'd like to do all the edits at once. ——  nix eagle email me 16:20, 3 May 2009 (UTC)
 * I don't understand why it would be problematic to convert 30 old templates to new templates, without converting all others at the same time. – Quadell (talk) 16:04, 6 May 2009 (UTC)
 * The task as laid out more or less needs to be done as a "one shot" converting everything roughly at the same time the sockpuppet template is updated with new code as the old/new template code are incompatable with each other. I *can* do 30 and simply revert it or something along those lines. Actually editing the pages is not where this bot will have problems. The framework I'm using is well tested by now and as such the actual page edits should not be an issue. I can have the bot give a random sample of 500 of its edits and put that up for review, which should be just as good as if not better then the standard method anyway. ——  nix eagle email me 13:23, 13 May 2009 (UTC)

How's it coming? – Quadell (talk) 20:19, 20 May 2009 (UTC)
 * Several issues both with the program and life in general is causing me delays. As far as the program, I've found a bug in the framework its using (Mediawiki::API, used by User:cbm's bots) which I need to fix. Basically requesting more then 500 pages worth of content in a query does not work properly, the issue is in Mediawiki::API's paging system (as API only allows batch requests up to 500 pages, so you have to page over to the next 500 etc). Its an error I only caught last week, and I've just not had the time to fix it.
 * Please consider this request open until I get the bug fixed, probably this or next week, I still need to fix some bugs in a few other bots I run first. ——  nix eagle email me 17:42, 21 May 2009 (UTC)


 * Any update? We can keep holding it open.  MBisanz  talk 01:13, 2 June 2009 (UTC)
 * Yeah please do, I've gotten distracted. What needs done is modifications to Mediawiki::API and re-testing before I can do a run. Sorry to find the bug so late in the game :S. ——  nix eagle email me 15:55, 7 June 2009 (UTC)

Gentle nudge. – Quadell (talk) 22:35, 22 June 2009 (UTC)

– This request has expired as information required of the operator was not provided. This request may be re-opened at any time. &mdash; madman bum and angel 22:46, 31 July 2009 (UTC)