Wikipedia:Bots/Requests for approval/SporkBot 6
- 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: Plastikspork (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 02:13, Sunday, June 28, 2015 (UTC)
Automatic, Supervised, or Manual: Supervised
Programming language(s): Perl using the MediaWiki::Bot library
Source code available: Standard Perl regular expressions
Function overview: Replace improper use of plainlist markup in chronology fields.
Links to relevant discussions (where appropriate): Discussion on the talk page for Infobox album
Edit period(s): One time run, unless the tracking category fills up again.
Estimated number of pages affected: Approximate 2000
Exclusion compliant (Yes/No): Yes
Already has a bot flag (Yes/No): Yes
Function details: Go through the list of pages in Category:Pages using infobox chronology parameters with plainlists and replace {{unbulleted list|''[[Album]]''|(YEAR)}}
with ''[[Album]]''<br />(YEAR)
since the album and the year are not a list, but simply a single piece of data with a newline for formatting.
Discussion
[edit]- I support this request. note that for HTML 5, we can use either
<br />
or<br>
. Frietjes (talk) 13:31, 28 June 2015 (UTC)[reply]
Approved for trial (50 edits). Please provide a link to the relevant contributions and/or diffs when the trial is complete. -- Magioladitis (talk) 13:35, 28 June 2015 (UTC)[reply]
- @Magioladitis: 50 trial edits. Note that there are 53 edits on the list, but 3 are for a different task. The only one that had any difficulty was this edit, where it added an additional set of break tags. However, I have since adjusted the code to make it more cautious, so that won't happen again. Thanks! Plastikspork ―Œ(talk) 20:37, 28 June 2015 (UTC)[reply]
Approved. -- Magioladitis (talk) 22:09, 28 June 2015 (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.