Wikipedia:Bots/Requests for approval/ButlerBlogBot 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 Wikipedia:Bots/Noticeboard. The result of the discussion was Approved.
Operator: Butlerblog (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 18:09, Friday, October 6, 2023 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): AutoWikiBrowser
Source code available: AWB
Function overview: Monitors television project-specific maintenance categories for proper date formatting in project-specific templates {{Infobox television}}, {{Episode list}}, and {{Series overview}}.
Links to relevant discussions (where appropriate):
Edit period(s): daily
Estimated number of pages affected: 20-30 per day
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): No
Function details:
1. Using entries in the date-specific television project maintenance categories, it corrects the date format in {{Infobox television}}, {{Episode list}}, and {{Series overview}} to make sure that the following exist:
1a. Format Infobox television |first_aired={{Start date|YYYY|MM|DD}}
(add df=y when applicable)
1b. Format Infobox television |last_aired={{End date|YYYY|MM|DD}}
(add df=y when applicable) or "present" (lowercase)
1c. Format Episode list |OriginalAirDate={{Start date|YYYY|MM|DD}}
(add df=y when applicable)
1d. Unformat Episode list |AltDate={{Start date|YYYY|MM|DD}}
per reasons given in template documentation, applies MOS date format accordingly (either January 1, 2023 or 1 January 2023, depending on formatted parameter)
1e. Series overview start/end dates should use {{Start date|YYYY|MM|DD}} and {{End date|YYYY|MM|DD}} respectively.
2. Since it already has the article open, it checks the television infobox to apply other genfixes to clean up additional items, including removal of unknown, deprecated, and unnecessary parameters, as well as parameter values for images that are malformed.
This is selected from a series of regex patterns I have used and refined in AWB manually clearing these maintenance categories and then manually running daily over the past year to keep them cleared. It is limited to regex patterns that are robust enough to provide a zero-intervention rate. I already do this via manual AWB daily; I'm just seeking to approve for automation.
Discussion
[edit]As one of the maintainers of some of the above templates and tracking categories, any step that can automate editor actions and free them up for other stuff is always helpful. I see the edits Butlerblog and others do daily to keep up with new entries and they are always helpful. If the bot run does exactly what they manually do then there should not be any issue. --Gonnym (talk) 14:10, 10 October 2023 (UTC)[reply]
- Thanks, Gonnym, for your confidence. Just some clarification for BAG: what I have been doing "manually" is run this using AWB as a "regular" AWB user. So from a "trial" standpoint, it's already in use clicking the "save" button. I'm just looking to take it that additional step to an AWB bot. ButlerBlog (talk) 16:21, 13 October 2023 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. Primefac (talk) 09:22, 24 October 2023 (UTC)[reply]
- For the trial, I added an AWB request to add the bot account User:ButlerBlogBot to the enabledbots on the checkpage. The edits in the this list with the summary "format dates and other infobox fixes per {{Infobox television}}" are from AWB as submitted, just under User:Butlerblog. Most (all but 3?) of the first 50 are this task (and another 20 or so on the next page). Once User:ButlerBlogBot is added to the check page, I can do 50 under the bot account if needed. ButlerBlog (talk) 13:50, 24 October 2023 (UTC)[reply]
- Trial complete. @Primefac: See 50 trial run edits here. Note: The recent changes/additions to the date tracking category for additional date params slowed things down a bit. ButlerBlog (talk) 21:56, 7 November 2023 (UTC)[reply]
- Trial is complete and there were no specific issues that I know of... ButlerBlog (talk) 14:57, 18 November 2023 (UTC)[reply]
- Approved. Primefac (talk) 14:11, 17 December 2023 (UTC)[reply]
- Trial is complete and there were no specific issues that I know of... ButlerBlog (talk) 14:57, 18 November 2023 (UTC)[reply]
- Trial complete. @Primefac: See 50 trial run edits here. Note: The recent changes/additions to the date tracking category for additional date params slowed things down a bit. ButlerBlog (talk) 21:56, 7 November 2023 (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 Wikipedia:Bots/Noticeboard.