Wikipedia:Bots/Requests for approval/StatisticianBot


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

StatisticianBot
Operator: Dvandersluis

Automatic or Manually Assisted: Automatic, supervised

Programming Language(s): PHP, using self-made framework

Function Summary: Updates miscellaneous, statistic-based pages.

Edit period(s) (e.g. Continuous, daily, one time run): daily

Edit rate requested: 1 edit per day

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

Function Details: There are two specific things I am requesting for approval here:
 * 1) Transfer task Category:Cleanup by month updating from User:CbmBOT to this one (which would be an umbrella bot for all statistics-related bot tasks I oversee). CbmBOT has been in use since July 2006, and was approved by B/RFA here. This would effectively deactivate CbmBOT.
 * 2) New task Creating a statistical report of Good article candidates, as per request at User:Mike Christie/GACbot and Bot requests/Archive 12. This task (and all its subtasks) will require only three "hits" on the Wikipedia server: one to retrieve the GAC page, a second to write a results page after processing, and a third to update Good article candidates/backlog/items ( request added to specification as of 20:53, 26 April 2007 (UTC) ). The subtasks are as follows:
 * 3) Create a list of the ten oldest nominations, and update Good article candidates/backlog/items with the oldest five.
 * 4) Create a daily backlog report, of the form "  --  nominations outstanding;  held ;  under review;  not reviewed".
 * 5) Create an exception report, showing the improper, malformed, or incorrect nominations.
 * 6) Create a summary report of nominations by category.

Discussion
 &lt;includeonly&gt;
 * Question While discussing the operation of this bot with the requester, we noticed that there are a number of pages that contain (currently, manually updated) statistics about GAC (Template:WikiProjectGATasks and Good article candidates/backlog/items, to start). I had the idea that, rather than updating each of those pages individually whenever the bot runs, it would just update its own reporting page (which would be done anyways), but add in a section of the page that would contain a #switch: ParserFunction and allow for the results page to be transcluded. What I mean is as follows:
 * 1) On the report page, called WP:GAC/R for example purposes

&lt;/includeonly&gt; &lt;noinclude&gt; ... report data ... &lt;/noinclude&gt;

Number of GAC candidates:
 * 1) On a page that needs GAC stats


 * Is this idea feasible? Would doing it this way mean that the entire page would be transcluded (even if it is not shown) or just the non-noinclude parts? (in which case, would it be better to create a second page that is just for the transclusions?) Or is it better to just update all the individual templates/etc. that need the data? —Daniel Vandersluis(talk) 21:23, 26 April 2007 (UTC)
 * Anything on a page apart from content transcluded within a noinclude section (which generally is no content, unless it's a template using the /doc pattern) counts towards the server load if that page is transcluded; don't put large noinclude sections on pages designed to be transcluded (like the pre'd example above). Updating a separate page designed to be transcluded would be fine. --ais523 12:58, 27 April 2007 (UTC)
 * Okay, thanks for letting me know. I guess I will just create a separate transclusion page instead. —Daniel Vandersluis(talk) 14:22, 1 May 2007 (UTC)

3 days operation on the good article task (keep the other one on hold for now). Martinp23 09:54, 6 May 2007 (UTC)

Consider the other task speedily approved. Martinp23 10:10, 6 May 2007 (UTC)
 * Thank you for approving this for trials. I will most likely be away until Wednesday, and will start the trials then (if not sooner). —Daniel Vandersluis(talk) 14:19, 7 May 2007 (UTC)
 * Diffs for 9 May 2007:
 * Wikipedia:Good article candidates/Report (page create)
 * Template:GACstats (page create + minor manual fixes that have been fixed in code)
 * (Wikipedia:Good article candidates/backlog/items
 * Diffs for 10 May 2007:
 * Wikipedia:Good article candidates/Report
 * Template:GACstats
 * Wikipedia:Good article candidates/backlog/items
 * Diffs for 11 May 2007:
 * Wikipedia:Good article candidates/Report
 * Template:GACstats
 * Wikipedia:Good article candidates/backlog/items

That should do it for the trials. —Daniel Vandersluis(talk) 16:59, 11 May 2007 (UTC)
 * ST47 Talk 11:17, 12 May 2007 (UTC)


 * The above discussion is preserved as an archive of the debate. Please do not modify it. Subsequent comments should be made in a new section.