Cannabis Sativa

DRV bot request

See WP:BOTREQ#DRV bot, basically to have a bot take over the creation of daily log pages. I think this should be fairly uncontroversial. T. Canens (talk) 10:37, 5 June 2012 (UTC)

  • Is there some way to poke the people at WP:BOTREQ about this. As far as I can see, the request got archived without action. If no one feels like making a bot we can;t make them. I certainly don't have the time or skill to code one. But this should be a trivial task for the right person to automate. Eluchil404 (talk) 06:19, 16 July 2012 (UTC)
    • T. Canens did just that. It's an easy enough task. I could also have the bot manage WP:DRV#Recent discussions—adding days that expire out of "Active discussions" and removing days where all discussions are closed—and it should be simple enough to remove headers from closed discussions per the instructions as well. But doing either or both of those by bot would require consensus that those who work here want it done by bot, of course. Anomie 14:00, 16 July 2012 (UTC)
      • Hmm, right now the recent discussions are transcluded by parserfunctions. Not particularly sure that we need a bot there, and some might be used to the current system. I'd also save the header removal for humans for now. Once in a while we get a DRV closed the wrong way and if the bot removes the headers immediately afterwards it could be a bit hard to fix. T. Canens (talk) 14:41, 21 July 2012 (UTC)
        • OTOH, I see in the history of Wikipedia:Deletion review/Recent that people are occasionally having to adjust the parser functions because some old discussion is not being closed and would otherwise fall off the page. I could even program the bot to automatically do just that: keep the parser functions and only add/remove older unclosed days if necessary. As for the header concern, it would be easy enough to have the bot wait some period of time before doing the header removal.
          But whichever way works for me. I've got code written, just waiting for a little feedback. Anomie 15:47, 21 July 2012 (UTC)
          • Hmm, just adding/removing older unclosed days is a good idea. I don't think people would have objections to removing empty days, so that'd work too. A waiting period before removing the headers is a nice idea too. I'm going to ping a couple more regulars to see if they have any objections. T. Canens (talk) 15:54, 21 July 2012 (UTC)
  • Good idea, and thanks for the ping Timotheus.—S Marshall T/C 16:36, 21 July 2012 (UTC)
  • Happy with both suggestions. They both make lots of sense. Good work guys. Spartaz Humbug! 20:59, 21 July 2012 (UTC)
  • Sounds fine to me. My preference would be to delete the page logs that don't have discussions. My bigger preference would be to give up on daily page logs, move to monthly, and to put every DRV discussion on its own subpage. --SmokeyJoe (talk) 02:12, 22 July 2012 (UTC)

Just to clear things up, right now the bot would:

  • Create new daily log pages (maybe a couple days in advance).
  • Edit /Active to transclude log pages from the past 7 days, excluding empty pages, but the current day's log is always transcluded.
  • Edit /Recent to transclude non-empty log pages more than 7 days but less than 15 days old, as well as any older log pages with unclosed discussions.
  • Remove headers from a page whose discussions are all closed, after a waiting period (12 or 24 hours?).

Any objections or ideas for extra bot work? T. Canens (talk) 11:59, 22 July 2012 (UTC)

    • I'd been assuming this was all done by bots (I'd done some of it by hand on occasion, but assumed something just wasn't working). Sounds good. Hobit (talk) 15:10, 27 July 2012 (UTC)

Leave a Reply