Wikipedia:Bots/Requests for approval/BattyBot 40


 * 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

BattyBot 40
Operator:

Time filed: 04:18, Tuesday, February 10, 2015 (UTC)

Automatic, Supervised, or Manual: Automatic

Programming language(s): AutoWikiBrowser

Source code available: AWB

Function overview: When adding WikiProject Disambiguation, also update class, importance and auto in other WikiProject templates

Links to relevant discussions (where appropriate): Bots/Requests for approval/BattyBot 34

Edit period(s): Occasional runs

Estimated number of pages affected: Hundreds

Exclusion compliant (Yes/No):

Already has a bot flag (Yes/No): Yes

Function details: BattyBot 34 was already approved to add WikiProject Disambiguation to existing talk pages for all disambiguation pages. Some of these talk pages have other WikiProject templates, which may have incorrect class or importance values. My proposal is two-fold: See for an example. Thanks! GoingBatty (talk) 04:18, 10 February 2015 (UTC)
 * If another WikiProject template has class stub, start, redirect, list, C, B, blank, etc., then change it to dab.
 * If another WikiProject template has importance with any value other than NA, then remove the parameter.
 * If another WikiProject template has auto yes, stub, length, then remove the parameter.

Discussion
I don't think all Wikiproject templates use the dab class. I'm not sure what will happen if you add dab to one that doesn't? From the documentation of Template:WPBannerMeta there has to be extended Jamesmcmahon0 (talk) 20:00, 10 February 2015 (UTC)
 * In, I added dab to three templates. WikiProject Mythology is coded with extended, while WikiProject Africa and WikiProject Nigeria is coded with subpage.  Talk:Abassi shows that each template has the Disambig-class rating, and there is a Disambig-class category for each WikiProject.
 * WikiProject Oz is coded with standard. Even though Talk:The Wizard of Oz has WikiProject Oz, the template shows an NA-class rating and a NA-class category.  Therefore, I will not have the bot change NA, and changing from stub to dab should work fine.  However, I would want some of these scenarios included in the trial.  Thanks!  GoingBatty (talk) 03:20, 11 February 2015 (UTC)
 * So, the upshot of your answer is that all Wikiproject templates use the dab class? Josh Parris 06:29, 20 February 2015 (UTC)
 * No, the upshot is that it doesn't really matter; If you add dab to a template it that uses it, it displays correctly. Otherwise it will display as NA-class which is also desirable. Jamesmcmahon0 (talk) 09:02, 20 February 2015 (UTC)

Let's get this show on the road then. Josh Parris 09:30, 20 February 2015 (UTC)
 * I have updated the function details to include the removal of auto, which is only valid for stub. GoingBatty (talk) 22:08, 20 February 2015 (UTC)
 * - see results in table below. GoingBatty (talk) 01:02, 21 February 2015 (UTC)

This isn't your first rodeo Josh Parris 19:10, 23 February 2015 (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.