Wikipedia:Bots/Requests for approval/PrimeBOT 38
- 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: Primefac (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 13:53, Sunday, November 27, 2022 (UTC)
Function overview: Remove spurious span tags in template call
Automatic, Supervised, or Manual: Automatic
Source code available: WP:AWB
Links to relevant discussions (where appropriate): Template talk:Old prod § Template-protected edit request on 20 April 2022
Edit period(s): OTR
Estimated number of pages affected: ~600
Namespace(s): Talk
Exclusion compliant (Yes/No): Yes
Function details: For some reason there is a glut of talk pages calling {{old prod}} with <span class="bday dtstart updated">[DATE]</span>
in the |condate=
, which is messing with some of the functionality and ability to show dates in the same style as the other date parameters. This bot task is just a quick run through to remove this span from those pages.
Discussion
[edit]- Approved for trial (50 edits or 14 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. — xaosflux Talk 17:45, 27 November 2022 (UTC)[reply]
- Trial complete. See [1]. Main thing to note is that I had to expand the scope slightly as there were some template substitutions that involved some extra #if statements and code, so I expanded the scope to include those. I will note that Special:Diff/1124183299 was fixed completely in the subsequent edit. Primefac (talk) 20:51, 27 November 2022 (UTC)[reply]
- FYI, it appears that the "for some reason" is because from 2013 until 2019 the documentation said to use {{subst:ISO date}} to fill in those fields. Anomie⚔ 12:34, 28 November 2022 (UTC)[reply]
- Indeed; that was pointed out on the talk page after I filed this. Primefac (talk) 12:44, 28 November 2022 (UTC)[reply]
Approved. ProcrastinatingReader (talk) 17:13, 8 January 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.