Content deleted Content added
ClueBot III (talk | contribs) m Archiving 2 discussions from Help talk:Citation Style 1. (BOT) |
ClueBot III (talk | contribs) m Archiving 1 discussion from Help talk:Citation Style 1. (BOT) |
||
Line 2,628:
{{FYI|Pointer to relevant discussion elsewhere.}}
Please see [[Wikipedia talk:Identifying reliable sources#Unpublished/SPS/UGC sources and Template:Cite arXiv]]. Of particular relevance to CS1 is the template's overlap with {{para|arXiv}}, and prior deprecation of all identifier-based citation templates. <span style="white-space:nowrap;font-family:'Trebuchet MS'"> — [[User:SMcCandlish|'''SMcCandlish''' ☺]] [[User talk:SMcCandlish|☏]] [[Special:Contributions/SMcCandlish|¢]] ≽<sup>ʌ</sup>ⱷ҅<sub>ᴥ</sub>ⱷ<sup>ʌ</sup>≼ </span> 21:23, 24 July 2015 (UTC)
== |vauthors= bug ==
A bug exists in the {{para|vauthors}} code. The bug also exists in {{tlx|vcite2 journal}}. If the assigned value is {{para|vauthors|Alberts AW, Majerus PW and Vagelos PR}} then the 'and' is not detected.
:vcite2 journal:
::{{vcite2 journal | vauthors = Alberts AW, Majerus PW and Vagelos PR | date = 1969 | title = Acetyl-CoA acyl carrier protein transacylase | journal = Methods Enzymol. | volume = 14 | pages = 50–53 | doi = 10.1016/S0076-6879(69)14009-4 | series = Methods in Enzymology | isbn = 978-0-12-181871-5 }}
:cite journal:
::{{cite journal | vauthors = Alberts AW, Majerus PW and Vagelos PR | date = 1969 | title = Acetyl-CoA acyl carrier protein transacylase | journal = Methods Enzymol. | volume = 14 | pages = 50–53 | doi = 10.1016/S0076-6879(69)14009-4 | series = Methods in Enzymology | isbn = 978-0-12-181871-5 }}
Here is the COinS for the second and third authors as a single author:
:<code><nowiki>&rft.au=Majerus+PW+and+Vagelos%2C+PR</nowiki></code>
—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 14:15, 25 July 2015 (UTC)
<code>parse_vauthors_veditors()</code> splits the value in {{para|vauthors}} at each comma. Each component of the split should be one or more 'last' names and one or two uppercase initials: Last FM
When a comma is missing, then (in the example above) the last-name string is: Majerus PW and Vagelos. We can look at that string of characters and see if there is a pattern: mixed case letters then spaces then uppercase letters then spaces then mixed case. If we find such a pattern then can we not surmise that a comma is missing? I've tweaked [[Module:Citation/CS1/sandbox]]:
::{{cite journal/new | vauthors = Alberts AW, Majerus PW and Vagelos PR | date = 1969 | title = Acetyl-CoA acyl carrier protein transacylase | journal = Methods Enzymol. | volume = 14 | pages = 50–53 | doi = 10.1016/S0076-6879(69)14009-4 | series = Methods in Enzymology | isbn = 978-0-12-181871-5 }}
This tweak seems to work. If Majerus PW and Vagelos PR is really a corporate name, then wrapping it in the doubled parentheses ({{para|vauthors|Alberts AW, ((Majerus PW and Vagelos PR))}} syntax skips the error check.
—[[User:Trappist the monk|Trappist the monk]] ([[User talk:Trappist the monk|talk]]) 15:34, 25 July 2015 (UTC)
|