Wikipedia:Bots/Requests for approval/Monkbot 8

Monkbot 8

[[User:Monkbot|Monkbot 8]]

{{Newbot|Monkbot|8}}

Operator: {{botop|Trappist the monk}}

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 {{tlx|vcite2 journal}} with {{tlx|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 {{para|vauthors}} and {{para|veditors}}. {{para|vauthors}} was initially created as part of {{tlx|vcite2 journal}}. The content of this parameter is parsed into multiple {{para|last}} / {{para|first}} pairs. To do this, {{tld|vcite2 journal}} requires {{para|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 {{tlx|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, {{tld|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 {{tld|vcite2 journal}} in article and template space to {{tld|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=

: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)

{{BotSpeedy}} -- Magioladitis (talk) 01:01, 2 August 2015 (UTC)

: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.