Wikipedia:Bots/Requests for approval/Monkbot 8
- 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 Speedily Approved.
Operator: Trappist the monk (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 17:39, Saturday, July 25, 2015 (UTC)
Automatic, Supervised, or Manual: authomatic
Programming language(s): awb
Source code available: yes, find this → \{\{\s*vcite2
and replace it with this → {{cite
Function overview: replace {{vcite2 journal}}
with {{cite journal}}
Links to relevant discussions (where appropriate):
Edit period(s): probably just one-time
Estimated number of pages affected: 3000
Exclusion compliant (Yes/No): yes
Already has a bot flag (Yes/No): yes
Function details: The 25 July 2015 update to Module:Citation/CS1 added support for |vauthors=
and |veditors=
. |vauthors=
was initially created as part of {{vcite2 journal}}
. The content of this parameter is parsed into multiple |last=
/ |first=
pairs. To do this, {{vcite2 journal}}
requires |vauthors=
to be a comma-delimited list of author names where each name is one or more surnames, a space, and one or two initials: Last FM, Last FM; the Vancouver system style. The parsed name-list (along with all of the other template parameters) is passed to {{cite journal}}
for rendering.
That functionality with additional error checking has been added to Module:Citation/CS1 and is now available to all of the cs1|2 citation templates. As such, {{vcite2 journal}}
is no longer required and becomes an extra step in the citation rendering process. This bot request is made to rename all of the instances of {{vcite2 journal}}
in article and template space to {{cite journal}}
. (selfishly, this request is made so that the bot operator doesn't have to spend several hours at the computor in a bleary-eyed haze: clicking ... clicking ... clicking ...)
I've made a hundred or so edits with this script. The results can be found in Special:Contributions/Trappist_the_monk search for convert {{vcite2 journal}} to {{cite journal}}
Discussion
[edit]- You may also want to add rules to Wikipedia:AutoWikiBrowser/Template redirects to make these conversions. GoingBatty (talk) 17:49, 25 July 2015 (UTC)[reply]
- I added the support. Now only thing needed is to run with general fixes urned on. No find and replace is needed. -- Magioladitis (talk) 01:00, 2 August 2015 (UTC)[reply]
Speedily Approved. -- Magioladitis (talk) 01:01, 2 August 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.