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  Approved.

New to bots on Wikipedia? Read these primers!

Operator: BrownHairedGirl (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 17:56, Wednesday, March 25, 2020 (UTC)

Function overview: Diffuse Category:Directorial debut films into by-year and by-decade categories.


Automatic, Supervised, or Manual: automatic

Programming language(s): AutoWikiBrowser

Source code available: See AWB settings files linked below

Links to relevant discussions (where appropriate): Wikipedia talk:WikiProject Film#Diffusing_Category:Directorial_debut_films

Edit period(s): one time run

Estimated number of pages affected: about 6,235.
Category:Directorial debut films contains ~6,330 pages (live tally= 5), of which ~98 will be skipped because they are not currently in a [[Category:YYYY films]] (see Petscan query for live count of pages to be skipped)

Namespace(s): Article

Exclusion compliant (Yes/No): Yes

Function details: If the article does not contain [[Category:YYYY films]], then skip it (actual regex is a little more sophisticated).

If it does contain [[Category:YYYY films]], then:

  1. add a [[Category:YYYY directorial debut films]], using the YYYY value from [[Category:YYYY films]]
  2. remove [[Category:Directorial debut films]]

I have uploaded the AWB settings file to Wikipedia:Bots/Requests for approval/BHGbot 5/AWB settings. Note that I have included a few example articles in the list, some with a [[Category:YYYY films]] and some without. They are just a sample, and not in any way a full list.

The [[Category:YYYY directorial debut films]] categories to be populated do not currently exist. There will be approximately 140 of them in all, including by-year, by-decade and by-century categories, and the container cats. I will create them in advance, using AWB, and do not seek BOT authorisation for that task.

Note that I recently created and populated Category:Debut novels by date+subcats, using the same methodology as I propose here, so I know that this works.

The discussion at Wikipedia talk:WikiProject Film#Diffusing_Category:Directorial_debut_films only started 24 hours ago (at 17:44, 24 March 2020). Three editors have posted so far, all supporting the idea, but the discussion should probably run for a few days before a final decision is made. I am opening the BRFA now to allow technical evaluation to proceed in parallel with the is-this-a-good-idea discussion. --BrownHairedGirl (talk) • (contribs) 17:56, 25 March 2020 (UTC)[reply]

Discussion[edit]

@BrownHairedGirl: Looks good to me. Let me know when you are ready for a trial. --TheSandDoctor Talk 08:02, 31 March 2020 (UTC)[reply]
@TheSandDoctor: in this case, a trial would be problematic, because it would be populating about 130 categories which do not currently exist. So a trial would:
None of those options seems to be to me to be a good idea.
I have done unsaved tests using the AWB settings provided, and they run fine.
So it seems to me that best way to conduct a trial would be for a BAG member to test it themself using AWB, using either the sample pages already listed in Wikipedia:Bots/Requests for approval/BHGbot 5/AWB settings, or any other subset of Category:Directorial debut films. This is an easy one to check, because in each case the change is simply the removal of one category and addition of another.
Alternatively, I could do a small set and then promptly self-revert, but I don't like cluttering page histories in that way.
But would it be too big an ask to seek approval without trial, by taking as the test my previous work diffusing Category:Debut novels? See e.g. these 50 edits[2] which use exactly the same methodology. --BrownHairedGirl (talk) • (contribs) 10:42, 31 March 2020 (UTC)[reply]
@BrownHairedGirl: - hope you are well. Appreciate that you may have other priorities, but I was just wondering on the progress of this? Thanks. Lugnuts Fire Walk with Me 12:43, 2 April 2020 (UTC)[reply]
Thanks, @Lugnuts. I'm doin fine, and I hope you are well too in these tough times. (I am praying for John Prine and Michael Rosen, both of whom are very ill ... and hoping that my Wiki friends stay safe).
Basically, I am ready to roll whenever BAG gives its approval, and at 5 edits/minute the job will take about 21 hours. There's just this issue of a trial run, on which I await a reply from TheSandDoctor. But since the virus is disrupting everyone's lives, I expect that responses may not be superfast, and my experience is that BAG usually has a frustratingly high latency even in good times. --BrownHairedGirl (talk) • (contribs) 12:58, 2 April 2020 (UTC)[reply]
So far so good, fingers crossed it stays like that. Thanks for the update. Lugnuts Fire Walk with Me 13:06, 2 April 2020 (UTC)[reply]
BrownHairedGirl, am I correct in that the plan is to create these subcats, regardless of whether the bot is approved? If so, there's no reason to revert anything; just create the cats that need to be created during the trial and leave the untouched ones empty? Primefac (talk) 16:39, 2 April 2020 (UTC)[reply]
@Primefac, I don't intend to create these categories unless the job is done by bot. Populating them manually will be too big a job and too error-prone, so I will have no part in creating or populating these categories unless the bot does it. --BrownHairedGirl (talk) • (contribs) 17:01, 2 April 2020 (UTC)[reply]
Approved for trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Great, sounds like there shouldn't be any issues with this bot run, so we'll keep things relatively small as proof-of-concept. I believe TheSandDoctor and I are around for most of today so assuming things go according to plan I suspect that this task should be approved by the end of the day. Primefac (talk) 17:38, 2 April 2020 (UTC)[reply]
25 edits: see contribs list
I fed it the sample list that I included in Wikipedia:Bots/Requests for approval/BHGbot 5/AWB settings, then added on the first 100 pages from Category:Directorial debut films. I stopped it after 25 edits, which meant processing 28 pages, including 3 skipped:
  1. 2 Coelhos
  2. 2 Cool 2 Be 4gotten
  3. 2 Frogs in the West
  4. 2 Penkuttikal
  5. 3 (2012 Tamil film)
  6. skipped3 Gante 30 Dina 30 Second
  7. skipped8 ½ $
  8. 8 Heads in a Duffel Bag
  9. 8 Thottakkal
  10. 9 (2009 animated film)
  11. The 9th Company
  12. 10 Cloverfield Lane
  13. 10 Things I Hate About You
  14. skippedList of directorial debuts
  15. 3 A.M. (2001 film)
  16. 3 Bahadur
  17. 3 Days to Go
  18. The 3 L'il Pigs
  19. 3 Monkeys
  20. 3 Strikes (film)
  21. 3 Wheeling
  22. The 4th Tenor
  23. 5 Idiots
  24. 6 Teens
  25. 7 chili in 7 giorni
  26. 7 Naatkal
  27. 7th Day (film)
  28. 10 Years (2011 film)
AFAICS, there were false positives and no false negatives, and all edits look accurate.
@Primefac and TheSandDoctor: how does it look to you? --BrownHairedGirl (talk) • (contribs) 18:36, 2 April 2020 (UTC)[reply]
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.