Wikipedia:Bots/Requests for approval/MedcabBot 2


 * 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 keep vote.svg Approved

MedcabBot 2
Operator: Anomie⚔

Time filed: 04:17, Wednesday October 5, 2011 (UTC)

Automatic or Manual: Automatic, unsupervised

Programming language(s): Perl

Source code available: User:AnomieBOT/source/tasks/MedcabBot.pm

Function overview: Clerking for WP:Mediation Cabal

Links to relevant discussions (where appropriate): User talk:Anomie

Edit period(s): Continuous

Estimated number of pages affected: MedCab case pages, and talk pages of mediators and parties to cases

Exclusion compliant (Y/N): Yes

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

Function details: The bot will do the following:
 * Update WP:Mediation Cabal/Cases
 * Change cases between Active, Inactive, Closing, and Closed states depending on editing activity.
 * Notify users of newly opened cases to which they are a party.
 * Notify parties and mediators when a case becomes inactive.
 * Notify WT:MEDCAB when a case is pending closure due to inactivity.

Discussion
Note this is no relation to Bots/Requests for approval/MedcabBot. That bot account was renamed to User:OldMedcabBot to make way for this new bot. Anomie⚔ 04:17, 5 October 2011 (UTC)
 * BAGAssistanceNeeded Seems to be fine, any update from BAG about this? — Preceding unsigned comment added by Crashdoom (talk • contribs) 11:24, October 13, 2011 (UTC)

-- Chris 11:29, 13 October 2011 (UTC)
 * Bot is edit warring with MiszaBot over a line break . Monty  845  16:44, 13 October 2011 (UTC)
 * I was told the other bot wasn't running anymore.[//en.wikipedia.org/w/index.php?title=User_talk:Anomie&diff=453685120&oldid=453683832] Stopped MedcabBot until it can be sorted out. Anomie⚔ 18:07, 13 October 2011 (UTC)

[//en.wikipedia.org/w/index.php?title=Special:Contributions&offset=20111020131314&target=MedcabBot] Not many edits, besides the minor issue with MiszaBot. But you can see [//en.wikipedia.org/w/index.php?title=Wikipedia:Mediation_Cabal/Cases&diff=prev&oldid=456006719 listing a new case] and [//en.wikipedia.org/w/index.php?title=User_talk:Hodja_Nasreddin&diff=prev&oldid=455527600 notifying a user] that someone [//en.wikipedia.org/w/index.php?title=Wikipedia:Mediation_Cabal/Cases/02_October_2011/Holodomor&diff=455526992&oldid=455523555 added them to a case]. You can also see the bot not posting a redundant notification for another user [//en.wikipedia.org/w/index.php?title=Wikipedia:Mediation_Cabal/Cases/02_October_2011/Holodomor&diff=455532690&oldid=455528534 added here] because [//en.wikipedia.org/w/index.php?title=User_talk:Ljudyna&diff=455532261&oldid=453412976 someone else already had done so]. Anomie⚔ 16:12, 20 October 2011 (UTC)
 * It's not quite functioning as intended. This edit removed the comments field, which we will need. A few other changes need to be made, as the inactive and pending close sections have been moved to our co-ordination desk. I've listed them below.


 * New cases, no changes, but the bot needs to list new cases both at Mediation Cabal/Cases and Mediation Cabal/Coordination Desk.
 * Active cases, listed at both pages, comments field included with opening date and marked as active, eg
 * inactive cases (no edits in a week but not a new case) the same as above, but opened date changed to inactive since, and marked as inactive instead of active. Case also to be listed under inactive section on co-ordination desk.
 * Pending close (no edits in three weeks or manually set by a mediator) listed under pending close at co-ordination desk, inactive since date to still be listed unless the pending close was done manually by a mediator which will then just list the opening date, and instead of (inactive) be marked (pending close).

Let me know if you need any more details. Thanks again. :) Steven Zhang  The clock is ticking....  20:42, 20 October 2011 (UTC)
 * Well, the bot worked as as intended before you changed everything. ;) Anomie⚔ 21:03, 20 October 2011 (UTC)
 * Noo, the comments field never worked :P Steven Zhang  The clock is ticking....  22:30, 20 October 2011 (UTC)
 * Nor was it ever mentioned until now ;) Anyway, hopefully in a few hours I'll have the code revised. Anomie⚔ 22:42, 20 October 2011 (UTC)
 * I thought I mentioned it...but can see that I didn't. Sorry to neglect that :) Steven Zhang  The clock is ticking....  22:52, 20 October 2011 (UTC)
 * So "Active", "Inactive", and "Pending close" all go in the same section on Mediation Cabal/Cases? Anomie⚔ 00:15, 21 October 2011 (UTC)
 * Yeah, but instead of being in a separate section will just appear in Open cases but marked as (Active), (Inactive), or (Closing). Steven Zhang  The clock is ticking....  00:22, 21 October 2011 (UTC)

New code ready.[//en.wikipedia.org/w/index.php?title=User:AnomieBOT/source/tasks/MedcabBot.pm&diff=456610772&oldid=455366216] Anomie⚔ 02:39, 21 October 2011 (UTC)

Lets have another trial. -- Chris 09:34, 21 October 2011 (UTC)
 * [//en.wikipedia.org/w/index.php?title=Special:Contributions&offset=20111028110800&target=MedcabBot&limit=23] You can see it notify a few users, move a few cases from "new" to "active", and update some comments. I see there is one bug where it has the "opened" date of some of the cases wrong; that is now fixed. Anomie⚔ 15:34, 28 October 2011 (UTC)

Looks good -- Chris  02:05, 29 October 2011 (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.