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.

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

Time filed: 19:36, Wednesday, March 7, 2018 (UTC)

Automatic, Supervised, or Manual: automatic

Programming language(s): Python

Source code available: https://github.com/TheSandDoctor/TrackListingFix/tree/master

Function overview: Bot would remove deprecated parameters (of Template:Track listing) from pages in Category:Track listings with deprecated parameters.

Links to relevant discussions (where appropriate): Template:Track_listing#Tracking_categories

Edit period(s): Most likely a one-time run

Estimated number of pages affected: 31,811

Exclusion compliant (Yes/No): Yes

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

Function details: Bot would parse pages in the category, removing the three deprecated parameters (|writing_credits=, |lyrics_credits= and |music_credits= where present. They do not need to be replaced with anything as Module:Track listing determines this automatically now.

From non-editing limited tests I have run, the bot script is accurate. I would be open to doing more non-editing tests and posting the resulting input/output files to GitHub (or anywhere else preferred; keep in mind that the debug print out is the entire article content in the form of a in.txt and out.txt).

If you have any questions, please do let me know.

Discussion

[edit]

((BAG assistance needed)) --TheSandDoctor (talk) 18:53, 14 March 2018 (UTC)[reply]

@TheSandDoctor: can you provide any "Links to relevant discussions" for this? — xaosflux Talk 02:25, 17 March 2018 (UTC)[reply]
@Xaosflux: The parameters are deprecated and unused in a maintenance category, I did not think any discussions relevant. I will open one though if you would prefer, though I am not sure how much traffic it would get. (Wikipedia:Bots/Requests for approval/TweetCiteBot 3 does have relevant discussions linked for that task BRFA). --TheSandDoctor (talk) 02:37, 17 March 2018 (UTC)[reply]
I think the old update at Template:Track_listing#Tracking_categories is OK. — xaosflux Talk 02:59, 17 March 2018 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete.xaosflux Talk 02:59, 17 March 2018 (UTC)[reply]
Trial complete. @Xaosflux: . Bot behaved as expected. -49 pages (double ran on 0 to 1 no Aida because of typo I discovered; wanted to confirm fix worked, which it did) from Category:Track listings with deprecated parameters. --TheSandDoctor (talk) 04:08, 17 March 2018 (UTC)[reply]
@TheSandDoctor: even though this is a 'one time run' - please include some description of the task at User:TweetCiteBot. Perhaps an "Other tasks" section. A one line summary with a link back to this BRFA would be plenty. When checking up on "why did this bot just do that" some editors don't read the ES and go right to the userpage. — xaosflux Talk 12:33, 17 March 2018 (UTC)[reply]
@Xaosflux:  Done Oops, my bad. Forgot to add something about that to the user page. It has now been added. --TheSandDoctor (talk) 15:06, 17 March 2018 (UTC)[reply]

@TheSandDoctor: Per WP:BOTACC "The account's name should identify the bot function (e.g. <Task>Bot), or the operator's main account (e.g. <Username>Bot)." I would find it extremely confusing if a Twitter-related bot started to do track listings. We need either a new bot account, or a rename of the existing bot account (such as TheSandDoctor's Bot / TheSandDoctorBot or similar). This also applies to Wikipedia:Bots/Requests for approval/TweetCiteBot 3.Headbomb {t · c · p · b} 21:30, 17 March 2018 (UTC)[reply]

 Done Headbomb. Also moved page. Will move other now. (cc Xaosflux) --TheSandDoctor (talk) 21:55, 17 March 2018 (UTC)[reply]
Approved for extended trial (25 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. - @TheSandDoctor: please do a small run to make sure things are good with the new account. — xaosflux Talk 22:00, 17 March 2018 (UTC)[reply]
Trial complete. Worked as expected. Thanks for flagging as confirmed Xaosflux. If task is approved, this account will need the bot flag before I start doing this en-masse. --TheSandDoctor (talk) 22:24, 17 March 2018 (UTC)[reply]
 Approved.xaosflux Talk 17:28, 21 March 2018 (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.