Help talk:Citation Style 1

From Wikipedia, the free encyclopedia
  (Redirected from Template talk:Cite podcast)
Jump to: navigation, search

the Wikipedia Help Project (Rated B-class, High-importance)
WikiProject icon This page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the help menu or help directory. Or ask for help on your talk page and a volunteer will visit you there.
B-Class article B  This page does not require a rating on the project's quality scale.
 High  This page has been rated as High-importance on the project's importance scale.

Feature request: "total_pages"[edit]

Could this optional parameter be added, especially to the "cite book" template? Editors sometimes want to indicate the total number of pages in a reference work, since this allows readers to distinguish short pamphlets from weightier tomes. This is particularly the case when the template is used in "Further reading" sections of Wikipedia articles.

The ambiguous "pages" parameter sometimes gets filled in with total page counts instead of page number references, as intended. I initially made this error myself, and I see other editors doing this fairly often, when adding reference works without specific page references. The "total_pages" parameter would divert editors away from making this error, and would also be helpful to interested readers trying to evaluate the size of reference works.

While I don't know how to program templates myself, I hope that adding this feature would be straightforward to an experienced template editor. Reify-tech (talk) 16:39, 3 June 2015 (UTC)

  • Mild support: I, too, am tired of total page counts showing up in |pages=, but I'm skeptical that this would curtail that problem, since people would have to read the documentation anyway to know about this new |total_pages= parameter, and if they were doing that they'd already know not to use |pages= for that purpose. So, I think the only real case for this is that being able to list the total pages might be useful. I think 99% of the time it's not. If we did implement it, I'd want to see it labeled as something to not use except in the circumstance you illustrate, or people will add it all over the place. Wikipedia:Is not a bibliographic database. The only helpful uses I can think of right off-hand are, like you say, identifying unusually large or unusually small sources. For the average 150–350 page book, it's useless trivia. Even for those two cases of usefulness, this information can simply be added manually after the citation template, though, so ....  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  09:53, 13 June 2015 (UTC)
  • Support: I'd kind of like this, too, if only so I could do something useful with page counts improperly given as |pages=. Another thing to do might be to rename pages to something less confusing, and add a tracking category for pages that still use it. Of course, it'd take forever to sort it all out if we tried to actually go through the category page-by-page, but at least it'd clue in those editors who happen to glance at the hidden categories when a specific page could use a look. —SamB (talk) 16:18, 20 June 2015 (UTC)
  • I don't think this should be added, as this is not the sort of information usually found in a reference, and goes beyond the function of identifying the source. It will encourage people to copy cruft from Google books and the like into citations. As for misuse of pages, perhaps we could flag as an error cases where the value of pages contains only digits. Kanguole 14:22, 1 July 2015 (UTC)

Format parameter[edit]

For whatever reason, the "format" parameter capitalizes its value, and in some cases it creates red links. I recently met two of them, e.g., RealMedia was converted into REALMEDIA and it was redlink. I created redirects for the ones I saw, but it there may be more. Also, potentially it may create disamigiation problem. Did anybody give this a thought? -M.Altenmann >t 04:48, 24 June 2015 (UTC)

This bug is fixed in the sandbox version of the Citation Style 1 module. See this discussion. Example:
Cite book compare
{{ cite book | title=Title | url= | format=RealMedia | author=Author }}
Live Author. Title (RealMedia). 
Sandbox Author. Title (RealMedia). 

The sandbox code has typically been migrated to the production module code every few months. It has been two months since the last update. – Jonesey95 (talk) 05:21, 24 June 2015 (UTC)

Propose trans-work parameter[edit]

The name of the cited work may not be in English. It may even be rendered in a non-roman alphabet. We have trans-title and script-title when the title of the article (for periodicals) is not in English. We could use corressponding trans-work and script-work parameters. See Japan Chernobyl Foundation for a recent example where this would be helpful. DES (talk) 12:03, 25 June 2015 (UTC)

Date span[edit]

Sometimes two dates are provided. For example "Nov. - Dec., 1969" here: Darekk2 (talk) 13:16, 26 June 2015 (UTC)

@Darekk2: That's not a problem. Use |date=November–December 1969 --Redrose64 (talk) 14:14, 26 June 2015 (UTC)
yes, maybe I used wrong "-" characterDarekk2 (talk) 14:40, 26 June 2015 (UTC)


Please see Emi Takei, footnote #2, where it says that there is no "title" parameter, even though it does exist. Debresser (talk) 16:27, 26 June 2015 (UTC)

From the help

{{cite episode}} will show this error if |series= is blank (even if a |title= is provided).

Keith D (talk) 16:35, 26 June 2015 (UTC)
That should be fixed then to read "Missing or empty |series=" instead of "Missing or empty |title=" Debresser (talk) 21:46, 27 June 2015 (UTC)

Chapter ignored message[edit]

Where is the problem with chapter=ignored message, like in Apricot oil ? Following are the parameters given (striped away one { and } to freeze template from interpreting):

{cite web
|title=A Modern Herbal
|author=Mrs. M. Grieve
|archivedate= 9 August 2008 
|deadurl= no}

What is wrong ? I see here that there are more than 4700 ... --Robertiki (talk) 04:57, 30 June 2015 (UTC)

Try using:
Mrs. M. Grieve. "Apricot". A Modern Herbal. Archived from the original on 9 August 2008. Retrieved 2008-08-20. 
I don't think |chapter= is valid for {{cite web}}. What is the |chapter= in your citation is the |title= of an individual web page, and what is the |title= is the name of a |work= hosted on that web site. Imzadi 1979  05:06, 30 June 2015 (UTC)
Or, alternatively, since this is a book hosted online, use {{cite book |...}}. Peter coxhead (talk) 05:54, 30 June 2015 (UTC)
I am non interested about the article Apricot oil, I could also have made the Aval example or any other of the 4,700 articles that unexpectedly now signal this error. The problem is that in the example I don't see any chapter parameter, so what ? --Robertiki (talk) 02:36, 1 July 2015 (UTC)
Sorry, now I see it. --Robertiki (talk) 02:37, 1 July 2015 (UTC)
Let us change example, in article Aval:
{Cite journal 
| last =Badr 
| first = Gamal Moursi 
| contribution =Islamic Law: Its Relation to Other Legal Systems 
| journal= American Journal of Comparative Law 
| volume=26 
| issue=2 
| title = Proceedings of an International Conference on Comparative Law, Salt Lake City, UT, February 24–25, 1977] 
| date=Spring 1978 
| pages=187–98 
| doi = 10.2307/839667 
| ref=harv 
| jstor= 839667}

Where is the "chapter" parameter ? Sorry for the false start. Maybe I don't understand how it works. --Robertiki (talk) 02:40, 1 July 2015 (UTC)

What's wrong here is the reference itself. Either this is a journal article, in which case the required parameters are |title= and |journal=, or it's a book in which the proceedings of a conference were published, in which case the required parameters are |chapter= and |title=. If the proceedings of the conference were published as a journal volume, then it should be treated as a set of journal articles. Peter coxhead (talk) 06:49, 1 July 2015 (UTC)
What's wrong is that we have no parameter to indicate that this issue of the journal is a special issue with its own title. The closest one can get is to pretend that, instead of a journal, it's a book series (and then italicize it manually):
  • {{Cite book | last =Badr | first = Gamal Moursi | contribution =Islamic Law: Its Relation to Other Legal Systems | series= ''[[American Journal of Comparative Law]]'' | volume=26 | issue=2 | title = Proceedings of an International Conference on Comparative Law, Salt Lake City, [[Utah|UT]], February 24–25, 1977 | date=Spring 1978 | pages=187–98 | doi = 10.2307/839667 | ref=harv | jstor= 839667}}
  • Badr, Gamal Moursi (Spring 1978). "Islamic Law: Its Relation to Other Legal Systems". Proceedings of an International Conference on Comparative Law, Salt Lake City, UT, February 24–25, 1977. American Journal of Comparative Law 26 (2). pp. 187–98. doi:10.2307/839667. JSTOR 839667. 
David Eppstein (talk) 07:34, 1 July 2015 (UTC)
|contribution= is an alias of |chapter=. {{cite journal}} does not support |chapter= and so does not support |contribution=. The thing that throws the spanner in the works is the conference information. If you rewrite the citation as {{cite conference}} you get this:
  • {{Cite conference | last =Badr | first = Gamal Moursi | title=Islamic Law: Its Relation to Other Legal Systems | journal= [[American Journal of Comparative Law]] | volume=26 | issue=2 | conference= Proceedings of an International Conference on Comparative Law, Salt Lake City, [[Utah|UT]], February 24–25, 1977 | date=Spring 1978 | pages=187–98 | doi = 10.2307/839667 | ref=harv | jstor= 839667}}
  • Badr, Gamal Moursi (Spring 1978). Islamic Law: Its Relation to Other Legal Systems. Proceedings of an International Conference on Comparative Law, Salt Lake City, UT, February 24–25, 1977. American Journal of Comparative Law 26 (2): 187–98. doi:10.2307/839667. JSTOR 839667. 
The code supporting {{cite conference}} should probably be tweaked so that the article title is rendered quoted and not italicized when |journal= (or an alias) is part of the template.
Trappist the monk (talk) 11:14, 1 July 2015 (UTC)
With the fix to quote the article title, I guess this is ok, but the question remains: why do editors want to include the conference information in this case? The purpose of a citation is not to tell you all about the source (if it was, why not include the number of pages in a book, the number of illustrations, and so on?), but to give sufficient information to locate the source. The title of the published entity (here the journal) is sufficient. {{Cite conference}} should be used when the proceedings are published as an independent entity, i.e. a book. Peter coxhead (talk) 14:05, 1 July 2015 (UTC)
In the case of some leading computer science cconferences (some of which are indeed published in journals in this way) the journal part of the citation tells you where to find the publication but the conference part tells you something about how important the paper was regarded at the time of publication, since the good conferences are typically much more selective than the journals. So both pieces are important parts of the citation. —David Eppstein (talk) 15:30, 1 July 2015 (UTC)
Agreed. I also agree that display should be corrected to italicize the right title depending on the parameters in use.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  23:36, 30 July 2015 (UTC)

accessdate when url changes[edit]

When a Wikipedia editor discovers that a URL has changed, I think it is good for the editor to update the url parameter. If there is an existing accessdate parameter, and the editor does not wish to take the time to verify that the reference supports the article text, that leaves a dilemma. Leaving accessdate unchanged falsely implies to most users that the displayed URL worked on that date. Removing the accessdate parameter removes the fact that some other editor claimed to have verified that the linked page supported the article text on that date. —Anomalocaris (talk) 17:52, 1 July 2015 (UTC)

What use is the new URL if it does not support the text that it claims it support. When changing a URL it should obviously be checked to verify that it still supports the text that it is attached to. Keith D (talk) 21:37, 2 July 2015 (UTC)
It may be obvious to you, but it is not obvious to me. Several newspaper websites, including The Jerusalem Post, Haaretz, and The Guardian have recently changed their URLs of existing articles. In some cases old URLs automatically redirect to new URLs; in other cases the old URL redirects to the home page, but the new URL can often be located by using the website's search feature and searching for the original article title. There is no doubt that it is the same article, because it has the same author, title, date, and publication. I should not have to re-verify that the article still supports the text, especially if the article is quite long and the subject abstruse. But I should update the link, as the new URL is more likely to be supported in the future. For example, when The Jerusalem Post changed from URLs of the form with numeric article names to URLs of the form with friendly names, for awhile, the old URLs redirected to the new ones, but they don't any more. I believe that editors who update URLs are helping Wikipedia, and I don't believe they should be required to reread each external article so affected to assure that it still supports the text. Furthermore, there is the point in the next thread that a given reference may be cited many times in one article. Is the editor required to verify that each point used for a given reference is supported by the reference? And what if some are and some are not?—Anomalocaris (talk) 22:21, 2 July 2015 (UTC)
There's no problem updating the accessdate along with the URL.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  01:56, 31 July 2015 (UTC)

accessdate and named references used multiple times[edit]

A specific named reference may be used many times in the text of an article. Some points in the article may be supported by the reference and others not. If a fact checker finds a named reference, with an accessdate, used multiple times, with some uses supported by the reference and others not, what then? What if someone starts an article like this:

The Sun is pretty big.<ref name="Miller"/>
== References ==
<ref name="Miller">{{cite journal |author=Miller |title=The sun's size |url= |journal=Sun Journal |year=2005 |accessdate=January 1, 2015}}</ref>

Which would display as

The Sun is pretty big.[1]

  1. ^ Miller (2005). "The sun's size". Sun Journal. Retrieved January 1, 2015. 

After a few edits the article says:

The Sun is pretty big.<ref name="Miller"/> The Sun is mostly boron.<ref name="Miller"/> The Sun is also quite hot.<ref name="Miller"/>
== References ==
<ref name="Miller">{{cite journal |author=Miller |title=The sun's size |url= |journal=Sun Journal |year=2005 |accessdate=January 1, 2015}}</ref>

Which would display as

The Sun is pretty big.[1] The Sun is mostly boron.[1] The Sun is also quite hot.[1]

  1. ^ a b c Miller (2005). "The sun's size". Sun Journal. Retrieved January 1, 2015. 

Then a fact checker comes along and notices that the Miller article doesn't say anything about the Sun's composition or temperature. The fact checker can insert a {{failed verification}} after the second and third <ref>s, but what about the accessdate? From this thought experiment it should be apparent that it is illogical for accessdates, which can be associated with named references used multiple times, to signify anything more than "The referenced article really existed at this URL on this date."—Anomalocaris (talk) 19:38, 2 July 2015 (UTC)

That's why we have |archive-url= and the Internet Archive. Check to see if there is a version of the page from close to the access date. If that version verifies the text, insert the archive-url and archive-date. – Jonesey95 (talk) 21:42, 2 July 2015 (UTC)
That might apply in cases where the URL points to a page that changes over time, and the external article at different times supported various different points in the Wikipedia article. But I'm thinking about journal and newspaper articles (which typically do not change), where a Wikipedia editor used an existing named reference to support a something the reference doesn't support. —Anomalocaris (talk) 22:32, 2 July 2015 (UTC)
Whether or not this is the right approach, if a source has a date associated with it, like a newspaper article, I do not enter access-date; rather, I reserve use of access-date to those sources which lack any date associated with their publication (most cite-web references). In this case, the access-date should apply to both existence and support. I was told at one time a few years back that if you review/update/check a citation, you should verify whether or not all uses of the reference are valid in the context of the article. --User:Ceyockey (talk to me) 23:11, 2 July 2015 (UTC)

cite book: author vs. first/last[edit]

Hi there,

regularly I edit in deWP. There, in deWP, it is prefered to use de:Vorlage:Literatur instead of de:Vorlage:Cite book. So I am firm with Vorlage:Literatur but not with Template:Cite book.

I'd like to transfer some Vorlage:Literatur-Refs to Vorlage:Cite book-Refs. Problem: Vorlage:Literatur just uses "autor" where the author is placed like "autor=Peter Pan" ... an on the other side I do not really get through the descriptions provided on Template:Cite book:

  • Given example1: "To cite a book with a credited author" -> just "first" / "last"
  • Given example2: "To cite a book with no credited author" -> just "author"
  • In the "Full parameter set in vertical format" there is no parameter "author" described ...


  1. What is the difference between a "credited" and a "no credited" author?
  2. Does the parameter "author" really exist? Even if its not described within "Full parameter set in vertical format"?
  3. Why is there such a strict separation between the different authors (first1, first2, and so on)?

I am asking this (beside the fact that i'd like to understand it ;-), because I'm thinking about using JavaScript to do the transformation-work automatically.

thx for your help

AKor4711 (talk) 17:39, 6 July 2015 (UTC)

Try {{Literatur}}. It maps the Vorlage:Literatur parameters to {{citation}} parameters using {{citation/core}}. No JavaScript required. There is a caveat: {{citation}} is Citation Style 2 so citation elements are separated with commas rather than the periods used by {{cite book}} and other Citation Style 1 templates.
  1. the "no credited author" example is probably inappropriate in {{cite book}} (it is appropriate for a newspaper where an author's name may not be provided)
  2. |author= is a legitimate parameter that is an alias of |last=; see Template:Cite_book#Authors
  3. because the code isn't smart enough to separate given names from surnames for use in the citation's COinS metadata
Trappist the monk (talk) 17:58, 6 July 2015 (UTC)
Notice that in the no credited author example, the author parameter is set to an HTML comment, so it does not appear in the rendered citation. The author parameter is best used for corporate authors. The documentation page says "For corporate authors, simply use last to include the same format as the source." I disagree with that instruction; whoever wrote that was thinking too much like a template coder and too little like an editor. Jc3s5h (talk) 20:50, 6 July 2015 (UTC)

Thanks a lot for your help ... the {{Literatur}} shocks me: A german template within enWP? Wow ^^ ... anyway: that template does exactly what I wanted to do via JavaScript -> saves some work ... :-))) --AKor4711 (talk) 01:46, 8 July 2015 (UTC)

Add column and day of week parameters?[edit]

Hello. Over at Template talk:Cite newspaper The Times I've been asking why that template can't redirect to {{cite news}}. The key reasons seem to be the lack of a column parameter, as well as a 'day of week' parameter, in this template. Reasons for why these parameters are useful are given there. Would it be possible to add those parameters to cite news, or are there good reasons for not doing so? Thanks. Mike Peel (talk) 08:18, 7 July 2015 (UTC)

Should be supported in the general template, since the rationales for them pertain to any newspaper with columns and/or with multiple daily editions. The templates should be merged.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  23:22, 30 July 2015 (UTC)

Allow "Quarter" dates in Date parameter?[edit]

To my recollection, reference templates such as {{cite journal}} used to allow entries such as "First Quarter 2005" in the 'date' parameter up until several months back. Now I realize that "Winter 2005"- and "January–March 2005"-type entries are still allowed, but I was wondering if "First Quarter"-type entries in the 'date' parameter were ever likely to be allowed again? There are definitely journals that publish by "First Quarter" dates rather than "Winter" or "January–March" dates, so it would be desirable if "Quarterly" dates would be allowed in these reference templates' 'date' parameters again. --IJBall (contribstalk) 21:12, 9 July 2015 (UTC)

This topic has been discussed before. cs1|2 take date format guidance from MOS:DATEFORMAT which is mute on quarterly dates (there is a brief mention at WP:SEASON but that date style is not listed in the Acceptable date formats table).
Trappist the monk (talk) 21:48, 9 July 2015 (UTC)
In that previous discussion, I commented that this should be allowed. The MOS might be silent on this, but we cannot while still providing the facilities to faithfully render the publication information for sources in CS1/CS2. We already override the MOS to capitalize season names when used in citation dates, and I agree with that as it promotes consistency between "January 2005" and "Winter 2005". Since my comments last October, I think that the word "quarter" should also be capitalized in citations for the same consistency reasons. I would also whitelist "Q1 2005" as a standard abbreviation analogous to the abbreviations for month names. This abbreviation convention is already quite common in corporate financial documents, among other places. Imzadi 1979  22:30, 9 July 2015 (UTC)
Yes, "Quarter"-type publication dates are definitely common in some of the official documents I run across from organizations and businesses when looking for references. I absolutely agree that the by "Quarter" dates should probably be included in the 'date' parameters again, esp. as the MOS is actually silent on "disallowing" their use. --IJBall (contribstalk) 22:40, 9 July 2015 (UTC)
Support allowing quarters (and seasons), but question whether this should be directly mingled with, rather than juxtaposed against, date data. For one thing, mingling them could break various tools. For another, many publications use both; the quarter or season is at least as much akin to title data as date data: Journal of Chicken Lips, June/July 2015 (Summer issue), etc. For a third, they can span multiple quarters or seasons, which spans themselves can cross a year boundary (Winter 2014/2015, 4Q 2014 / 1Q 2015, etc.)  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  23:25, 30 July 2015 (UTC)

Hyphen conversion in cite book[edit]

At Template:Cite book#In-source locations, it states, "Hyphens are automatically converted to en dashes;...". This apparently is not working. See here and search for "15-52" Bgwhite (talk) 19:02, 10 July 2015 (UTC)

@Bgwhite: is misreading the documentation; |page= is not |pages=. Hyphens are converted in the later. See further debate at User talk:Bgwhite#hypenated pages. Glrx (talk) 19:15, 10 July 2015 (UTC)

Author’s initials only[edit]

This news article is credited only to “C.R.”. How should this be handled? (I note that author is deprecated.)

  • |author=<!-- C.R. -->?
  • |author=C.R.?
  • |first=C. |last=R.? (talk) 00:38, 13 July 2015 (UTC)

Until you discover who C.R. is, and can provide a complete name, |author=C.R. works. Can you show where it is written that |author= is deprecated? That assertion is not true so anyplace saying otherwise needs to be corrected.
Trappist the monk (talk) 00:51, 13 July 2015 (UTC)
Thanks. I misread: it's |coauthor= that's deprecated, not |author=. — (talk) 03:17, 13 July 2015 (UTC)
FWIW, I always put these in scare-quotes, e.g. "C. R.", and include a note (another good use for the |note= parameter I've proposed) that a more complete name for the author is not presently available.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  23:18, 30 July 2015 (UTC)

Feature request: |note= parameter[edit]

It'd be nice to have a |note= parameter, so that things like "Source is a blog, but published by a project of the city government; primary but not self-published.", kept with (inside) the citation instead of external to it in an HTML comment. It's pretty common to to use a pseudo-parameter like |note=, or (in other contexts, like cleanup/dispute templates) |reason=, for this purpose, but CS1's auto-detection and red-flagging of unrecognized parameters makes this impossible at present.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  16:06, 15 July 2015 (UTC)

It would be nicer still to have a |null= to work around the red-flagging because there are time when as SMcCandlish unrecognized parameters are convenient. -- PBS (talk) 22:56, 15 July 2015 (UTC)
I think the problem with the example above is that all of the other parameters in CS1 are for bibliographic data that theoretically at least is understandable to readers and meaningful outside Wikipedia. Whereas that comment would be understandable to maybe 1 or 2 out of every 1,000 Wikipedia readers – the ones who are familiar with what WP editors usually mean when they call a source "primary". For that sort of thing, an HTML comment embedded in the wikitext seems like exactly the right way to handle it. Let's keep meta comments and WP-specific issues separate from the data. – Margin1522 (talk) 11:21, 16 July 2015 (UTC)
SMcCandlish is not proposing a display variable, but one to be used in place of <!-- a hidden comment --> as the parameter |reason= is used in the template {{Clarify}}. -- PBS (talk) 19:35, 16 July 2015 (UTC)
I can see the advantage of a |note= parameter. I find the |others= parameter very useful - today I've used it to flag "(published anonymously)". Library catalogs sometimes use square brackets for this. Aa77zz (talk) 20:19, 16 July 2015 (UTC)
Like this from Finch?:
{{ cite book | last=Leach | first=William Elford | author-link=William Elford Leach | year=1820 | chapter=Eleventh Room | title= Synopsis of the Contents of the British Museum | place=London | publisher=British Museum | edition=17th| pages=65-70 | others=(published anonymously) }}
Specifically these bits:
| publisher=British Museum and | others=(published anonymously)
One contradicts the other. And, from the template documentation at Authors:
  • others: To record other contributors to the work, including illustrators and translators. For the parameter value, write Illustrated by John Smith or Translated by John Smith.
I think that your use of |others= as you have done is an improper use of the parameter.
Trappist the monk (talk) 22:23, 16 July 2015 (UTC)
I was well aware that my use was "improper" but I had wanted to say that the author wasn't specified rather than the publisher wasn't specified. I've now deleted the parameter.Aa77zz (talk) 07:05, 17 July 2015 (UTC)
At Finch it now says: "The name of the author is not specified in the document." If that is so, then who is | last=Leach | first=William Elford?
Trappist the monk (talk) 09:31, 17 July 2015 (UTC)
I was trying to simplify as this isn't an important reference. In the Finch article I've actually cited two sources - the other is Bock 1994. It is Bock who gives the information about the publication: "All the parts of this public guide to the British Museum are unsigned, however, this part was clearly written by Leach as indicated by the fact that he was Keeper of Zoology at the time and by the numerous references to Leach's list of family-group names by his contemporaries." I'm reluctant to add a notelist with this info. It is not uncommon to have "unsigned" articles. I've met them in 19th century book reviews. Sometimes there is a RS giving the authors name. I've seen square brackets used in references when the information isn't present on the title page - such as the author or the year of publication. Aa77zz (talk) 10:17, 17 July 2015 (UTC)
If Synopsis ... doesn't identify the authors then | last=Leach | first=William Elford | author-link=William Elford Leach should be removed from that citation. You might then change the note to read: "Attributed to Leach in Both 1994." I'm not at all sure that this is even important. Will knowing that Both thinks that Leach wrote "Eleventh Room" help readers find a copy of Synopsis ...?
Trappist the monk (talk) 12:13, 17 July 2015 (UTC)

────────────────────────────────────────────────────────────────────────────────────────────────────The conversation has moved a long way from User:SMcCandlish's request for a |note= parameter to allow a hidden editor to editors message, similar to |reason= in the cleanup templates. -- PBS (talk) 21:23, 30 July 2015 (UTC)

And it would actually serve the purpose Aa77zz has in mind, anyway. So, I renew the request. All fields I'm aware of, including physical sciences, social sciences, humanities, law, etc., that regularly cite sources do in fact have definitions of "primary source" and so on (even if they sometimes differ in their particulars), so the objection to my example isn't even valid. And it was just an example. There are any number of reasons to use such a parameter, e.g.:
  • |note=Titled "Blood of the Isles" in the UK printing.
  • |note=Paywall can be bypassed by request at URL here.
  • |note=Page 17 is missing from this Project Gutenberg scan, but is not part of the cited material.
  • |note=There is a newer edition, but the cited section has not changed, according to URL to changes list.
  • |note=This is a master's thesis, but was reviewed by Notable Researcher Here, and has been cited in 12 journal papers as of July 2015.
etc. There's no reason to put these in messy HTML comments that some editors are apt to delete on sight because they don't like HTML comments. And, really, no one's head will asplode if someone happens to include a more WP-jargon-specific note. They'll just shrug and move on. No one will see them but wikitext-editing users anyway.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  23:15, 30 July 2015 (UTC)

Update to the live CS1 module weekend of 25–26 July 2015[edit]

On the weekend of 25–26 July I propose to update the live CS1 module files from the sandbox counterparts:

Changes to Module:Citation/CS1 are:

  1. in {{cite arxiv}}, concatenate |version= onto |arxiv= or |eprint=; emit deprecated parameter error when |version is used in {{cite arxiv}}; discussion
  2. bug fix in style_format(); discussion
  3. bug fix in language_parameter(); discussion
  4. remove Editors# from EditorList-Last - |editorsn= not an alias of |editor-last=; discussion
  5. bug fix in list_people(); discussion
  6. add extra text maint category; discussion
  7. improve handling of |authors= containing "et al." or combined with |display-authors=etal discussion
  8. enhanced internal category handling;
  9. add support for |vauthors= and |veditors=; discussion
  10. Add ismn support; discussion

Changes to Module:Citation/CS1/Configuration are:

  1. add extra text maint category;
  2. remove Editors# from EditorList-Last - |editorsn= not an alias of |editor-last=;
  3. add support for |vauthors= and |veditors=;
  4. Add ismn support;

Changes to Module:Citation/CS1/Whitelist are:

  1. add support for |vauthors= and |veditors=;
  2. Add ismn support;

It has been a while since I worked on any of this. Have I missed something that should be in these lists?

Trappist the monk (talk) 16:11, 20 July 2015 (UTC)

No support for |collaboration= (see discussion)? That is disappointing. I've been waiting for it for a while now.Headbomb {talk / contribs / physics / books} 18:30, 20 July 2015 (UTC)
This group of changes, with the exception of ISMN support, were made before I went on wikibreak in May. Raise this topic again after I do the update. We can think about it then.
Trappist the monk (talk) 18:45, 20 July 2015 (UTC)

In Template:Cite episode, network = publisher?[edit]

Shouldn't |network= be documented as an alias of |publisher=?  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  01:24, 22 July 2015 (UTC)

{{cite episode |title=Title |series=Series |network=Network |publisher=Publisher}}
"Title". Series. Publisher. Network. 
As can be seen in my crude example, |network= is not an alias of |publisher=, so in answer to your question, no, |network= should not be documented as a strict alias of |publisher=. But that raises the question: should |publisher= be valid for use in {{cite episode}}?
Trappist the monk (talk) 02:17, 22 July 2015 (UTC)
I guess it could be in some cases, when the production is attributed to one entity, and it retains rights to it, syndicates it later on other networks, reissues it on DVD, etc., all without involvement of the original network. Will definitely need documentation clarification.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  08:04, 22 July 2015 (UTC)

Definite error in same template[edit]

No idea how this is happening: |series= is not italicizing, but it's clearly intended as a replacement for |work= (which is absent from this template's documentation). The only way to get a properly italicized series name with this template is to use |work=, which suggests that it's not actually coded as an alias of |work= for some reason, but as a separate parameter.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  08:08, 22 July 2015 (UTC)

Series is italicised in Trappist's example above... - Evad37 [talk] 08:51, 22 July 2015 (UTC)
It appears that the |series= parameter is being repurposed. When I started six years ago, it was used in {{cite journal}} to resolve duplication when the same volume/issue numbers were used for two different issues. --Redrose64 (talk) 13:16, 22 July 2015 (UTC)
Well, as with |title= doing something different in different templates, this one needs to as well.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  23:21, 22 July 2015 (UTC)

Template:Cite journal has had |series= since 26 October 2008 [1]. Template:Cite episode has had it since its creation on 4 March 2006 [2]. It may have been around in some other template even longer; not sure. Was added to {{Cite book}} in 2007, for example. Anyway, it's highly desirable that it italicize in {{Cite episode}}. I would just go fix it, but I can't due to full protection on the module. — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  21:47, 24 July 2015 (UTC)

Test: Onie-Maus, Ann (19 July 2015). "Athena's Earlobes". Cracksmokin' Buttmonkeys. Season 2. Episode 6. This parameter seems to serve no purpose (in Gaelic). Weed, New Mexico. 48 minutes in. Insipid Broadcasting Network. KBLARGH. Retrieved 20 July 2015. My chicken has bigger nuggets than yours! 

Hmm. OK, it's italicizing now.

But note that the |city= parameter is not working, though it has been documented at this template for a long time (the |location= version works, and I'll go change the template's documentation, but it should probably have city as an alias). But its value is misplaced in the sequence. It should immediately precede the |station= value, if present, e.g. Weed, New Mexico: KBLARGH, fallback to preceding the network in same format, and finally to appearing alone, with no colon, as in the above display, if neither are present, in which case it should be just before the accessdate. It's really weird that it is inserted into episode-specific data, between transcript info and timecode info.

It has another problem, too: The misfeature that it always throws an error if there is no |title= value, even though some TV show's episodes do not have titles. It should detect some specific string, e.g. [none] and suppress display of that value or of the error in that case. This would also allow it be used to cite one-off programs (TV specials, either stand-alone or of a regular series), without having to use some other template like {{cite video}} or {{cite film}}.

Next, the |transcript= parameter verges on useless, unless the transcript has a special, unique title. If you leave it out/blank, then |transcript-url= throws an error. Instead |transcript=Transcript should simply be the default value. If a value is provided, it should appear as Transcript: "value of transcript parameter here".

 — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  00:07, 31 July 2015 (UTC)

{{cite episode}}: the Module:Citation/CS1 version very closely follows, and in some cases improves upon, {{cite episode}}: the {{citation/core}} version as can be seen by comparing your example citation rendered here by both:
Cite episode compare
{{ cite episode | number=6 | last=Onie-Maus | access-date=20 July 2015 | date=19 July 2015 | season=2 | minutes=48 | transcript=This parameter seems to serve no purpose | quote=My chicken has bigger nuggets than yours! | language=Gaelic | network=Insipid Broadcasting Network | first=Ann | series-link=Humor | transcript-url= | episode-link=Rickrolling | title=Athena's Earlobes | location=Weed, New Mexico | series=Cracksmokin' Buttmonkeys | station=KBLARGH | url= }}
Old Onie-Maus, Ann (19 July 2015). "Athena's Earlobes" (in Gaelic). Cracksmokin' Buttmonkeys. Season 2. Episode 6. This parameter seems to serve no purpose. Weed, New Mexico. 48 minutes in. Insipid Broadcasting Network. KBLARGH. "My chicken has bigger nuggets than yours!" 
Live Onie-Maus, Ann (19 July 2015). "Athena's Earlobes". Cracksmokin' Buttmonkeys. Season 2. Episode 6. This parameter seems to serve no purpose (in Gaelic). Weed, New Mexico. 48 minutes in. Insipid Broadcasting Network. KBLARGH. Retrieved 20 July 2015. My chicken has bigger nuggets than yours! 
|city= doesn't work in the Module version because it doesn't work in the {{citation/core}} version.
Trappist the monk (talk) 00:52, 31 July 2015 (UTC)
So shouldn't it have that as an alias, given that it was deployed for a long time with |city= as the parameter name? PS: Just to be clear my sample test code is to play with swapping stuff in and out. It mostly doesn't directly illustrate the problems I talked about, or I would have had to use it numerous times in the same post.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  01:53, 31 July 2015 (UTC)

Unpublished/SPS/UGC sources and Template:Cite arXiv[edit]

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 |arXiv=, and prior deprecation of all identifier-based citation templates.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  21:23, 24 July 2015 (UTC)

extra text in |edition= detection bug[edit]

There is a bug in the extra text detector. The current detector was intended to find |edition=2nd ed. which would render as

Title (2nd ed. ed.). 

But, it also finds the 'ed' at the end of illustrated, revised, etc:

Title (revised ed.). 

So, I've adjusted the test:

Title (2nd ed. ed.).  – should find 'ed.'
Title (revised ed.).  – should not find 'ed'

Trappist the monk (talk) 11:38, 25 July 2015 (UTC)

|vauthors= bug[edit]

A bug exists in the |vauthors= code. The bug also exists in {{vcite2 journal}}. If the assigned value is |vauthors=Alberts AW, Majerus PW and Vagelos PR then the 'and' is not detected.

vcite2 journal:
Alberts AW, Majerus PW and Vagelos PR (1969). "Acetyl-CoA acyl carrier protein transacylase". Methods Enzymol. Methods in Enzymology 14: 50–53. doi:10.1016/S0076-6879(69)14009-4. ISBN 978-0-12-181871-5. 
cite journal:
Alberts AW, Majerus PW and Vagelos PR (1969). "Acetyl-CoA acyl carrier protein transacylase". Methods Enzymol. Methods in Enzymology 14: 50–53. doi:10.1016/S0076-6879(69)14009-4. ISBN 978-0-12-181871-5. 

Here is the COinS for the second and third authors as a single author:


Trappist the monk (talk) 14:15, 25 July 2015 (UTC)

parse_vauthors_veditors() splits the value in |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:

Alberts AW, Majerus PW and Vagelos PR (1969). "Acetyl-CoA acyl carrier protein transacylase". Methods Enzymol. Methods in Enzymology 14: 50–53. doi:10.1016/S0076-6879(69)14009-4. ISBN 978-0-12-181871-5.  Vancouver style error (help)

This tweak seems to work. If Majerus PW and Vagelos PR is really a corporate name, then wrapping it in the doubled parentheses (|vauthors=Alberts AW, ((Majerus PW and Vagelos PR)) syntax skips the error check.

Trappist the monk (talk) 15:34, 25 July 2015 (UTC)

Question about CS1 maint: Extra text[edit]

I have submitted Wikipedia:Bots/Requests for approval/BattyBot 46 to fix articles in Category:CS1 maint: Extra text. The category page states "This is a tracking category for CS1 citation parameters that have parameters that contain text that duplicates static text provided by the template. For example, |edition=2nd ed will be rendered as (2nd ed ed.)." However, there are articles in this category that do not meet this criteria.

Reference #72 in 1956 Winter Olympics is presumably in this category because of the |pages=:

{{cite journal |title=IOC and OCOG Abbreviations for NOCs |last=Mallon |first=Bill |author2=[[Ove Karlsson (sports journalist)|Ove Karlsson]] |journal=[[Journal of Olympic History]] |volume=12 |issue=2 |date=May 2004 |pages=pp. 25–28 |url= |format=PDF |accessdate=2 March 2010}}

However, if we remove "pp." from the parameter value, we see that "pp." is not static text provided by {{cite journal}}:

{{cite journal |title=IOC and OCOG Abbreviations for NOCs |last=Mallon |first=Bill |author2=[[Ove Karlsson (sports journalist)|Ove Karlsson]] |journal=[[Journal of Olympic History]] |volume=12 |issue=2 |date=May 2004 |pages=25–28 |url= |format=PDF |accessdate=2 March 2010}}

How should we resolve this discrepancy?

  1. Change {{cite journal}} so that it always displays "pp."?
  2. Change {{cite journal}} so the maintenance category is not populated in this case?
  3. Change the category description to explain why it is inappropriate to put "pp." in |pages= in this case?
  4. Something else?

Thanks! GoingBatty (talk) 15:51, 25 July 2015 (UTC)

  1. There has been discussion on these pages before about making {{cite journal}} render the 'p.' and 'pp.' prefixes when the citation does not use |volume= and |issue=
  2. No
  3. In the case of {{cite journal}}, the 'p.' and 'pp.' prefixes duplicate the colon (which for this template is the static text):
    {{cite journal |title=Title |journal=Journal |page=100}}
    "Title". Journal: 100. 
  4. perhaps. such as?
Trappist the monk (talk) 16:11, 25 July 2015 (UTC)

and others is a synonym of et al.[edit]

There aren't that many but editors have used |author=and others (some of these are the result of Monkbot making author parameters from |coauthors=). These author parameters aren't currently detected by name_has_etal () in Module:Citation/CS1. I have tweaked the sand box so that they are:

Cite book compare
{{ cite book | title=Title | author2=and others | author=First author }}
Live First author; and others. Title. 
Sandbox First author et al. Title. 

Such citations will be added to Category:CS1 maint: Explicit use of et al..

Editors have also used |author=others but there were (according to an insource: search) only a dozen of them so I just fixed them instead of adding a test to the module.

Trappist the monk (talk) 18:56, 26 July 2015 (UTC)

Support. – Jonesey95 (talk) 08:47, 29 July 2015 (UTC)
  • Oppose, just change them to "et al". Also best to keep coauthors and an option. -- PBS (talk) 21:27, 30 July 2015 (UTC)

"Revised" in edition parameter is triggering maintenance[edit]

This is confusing for editors: The cite templates have "Revised" as example for good edition information in their documentation, however that parameter triggers "CS1 maint: Extra text" (examples: 1638 in literature and [3]). I have added a short note to Category:CS1 maint: Extra text for now. But not really sure, what's the correct solution to improve this: Change the template documentation or change the trigger behaviour? Either way, it would be helpful to add a new section to Help:CS1 errors about the cause and possible solutions for this maintenance case in general. GermanJoe (talk) 17:22, 28 July 2015 (UTC)\

This is a bug that is fixed in the sandbox (see §extra text in |edition= detection bug). For those citations with false detection it is probably best to do nothing with the false positives in the category; they will go away when the module is next updated.
I've been wondering about this whole test anyway and will have more to say about it later.
Trappist the monk (talk) 19:24, 28 July 2015 (UTC)
Thank you for the info. I have removed the category note for now (as the error will be fixed, it's kind of pointless). GermanJoe (talk) 20:14, 28 July 2015 (UTC)
I'm also seeing similarly unnecessary maintenance categorization for citations with parameters like |journal=Journal of Combinatorial Theory |series=Series A. FWIW, many journals and journal cites have separate series parameters (although maybe in this particular case you could argue that "Series A" is really part of the journal name), and omitting the "Series" text from the parameter causes them to be formatted in a very cryptic way that most readers are unlikely to understand, so I think spelling it out is preferable and should not be tagged as an error. —David Eppstein (talk) 18:13, 28 July 2015 (UTC)
I don't understand this. I took this citation from Graph theory:
{{Citation|author=Robertson, N.; Sanders, D.; Seymour, P. and Thomas, R.|title=The four color theorem|journal=Journal of Combinatorial Theory Series B|volume=70|year=1997|pages=2–44|doi=10.1006/jctb.1997.1750|postscript=.}}
Robertson, N.; Sanders, D.; Seymour, P. and Thomas, R. (1997), "The four color theorem", Journal of Combinatorial Theory Series B 70: 2–44, doi:10.1006/jctb.1997.1750. 
Adding |series=:
{{Citation|author=Robertson, N.; Sanders, D.; Seymour, P. and Thomas, R.|title=The four color theorem|journal=Journal of Combinatorial Theory |series=Series B|volume=70|year=1997|pages=2–44|doi=10.1006/jctb.1997.1750|postscript=.}}
Robertson, N.; Sanders, D.; Seymour, P. and Thomas, R. (1997), "The four color theorem", Journal of Combinatorial Theory, Series B 70: 2–44, doi:10.1006/jctb.1997.1750. 
Changing to {{cite journal}}:
{{cite journal|author=Robertson, N.; Sanders, D.; Seymour, P. and Thomas, R.|title=The four color theorem|journal=Journal of Combinatorial Theory |series=Series B|volume=70|year=1997|pages=2–44|doi=10.1006/jctb.1997.1750|postscript=.}}
Robertson, N.; Sanders, D.; Seymour, P. and Thomas, R. (1997). "The four color theorem". Journal of Combinatorial Theory. Series B 70: 2–44. doi:10.1006/jctb.1997.1750. 
I'm not seeing any maintenance categorization in any of these. What am I not understanding about what it is that you wrote?
Trappist the monk (talk) 19:24, 28 July 2015 (UTC)
If series isn't generating this maintenance categorization, then there is no problem; sorry for the false alarm. I was seeing this maintenance category on an article that I couldn't find a different explanation for, and thought it was this parameter, but didn't do the experimentation needed to nail it down exactly, and now I don't remember which article it was. It must have been one of the other parameters causing the issue, quite likely legitimately. —David Eppstein (talk) 20:47, 28 July 2015 (UTC)

How do you suppress errors when titles are missing?[edit]

For instance, in the PMNS matrix article, we have citations such as

*{{cite journal
 |last1=Pontecorvo |first1=B.
 |title=Mesonium and anti-mesonium
 |journal=[[Zhurnal Éksperimental’noĭ i Teoreticheskoĭ Fiziki]]
 |volume=33 |pages=549–551
}} reproduced and translated in {{cite journal
 |last1=<!----> |first1=<!---->
 |journal=[[Soviet Physics JETP]]
 |volume=6 |pages=429

Giving out

There's no reason why this should be considered invalid. How do you suppress the error message? Headbomb {talk / contribs / physics / books} 15:34, 29 July 2015 (UTC)

Each citation template is a stand-alone object that produces stand-alone metadata. While the text "reproduced and translated in" visually connects the two in the article, there is no such connection in the metadata because there is no inter-template communication.
If both journal articles were consulted when writing PMNS matrix, then both templates should have all of the required information and both used separately. If only one journal article was consulted for PMNS matrix then only that template is required (the other, completed template could be added to §Further reading or similar section – perhaps with a note identifying it as the original or the translation).
When the article's citation style dictates it, you can use |title=none in {{cite journal}} and {{citation}} when |journal= is set to suppress the error message. It is my belief that this sort of shorthand is inappropriate because it leaves the metadata incomplete.
The parameters |language=; |script-title= for the original language and/or |title= for a transliterated title; and |trans-title= for the translated title would be appropriate for the first (original language) template.
Trappist the monk (talk) 16:16, 29 July 2015 (UTC)
Agreed. And see WP:SAYWHEREYOUGOTIT.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  23:37, 30 July 2015 (UTC)

Merging Template:ArXiv[edit]

After a discussion at Wikipedia talk:Identifying reliable sources#Unpublished/SPS/UGC sources and Template:Cite arXiv, to make sure that we should ever be citing arXiv for anything but a convenience link, it's become clear that there are only two use cases for this template:

  1. Citing an arXiv paper that has also been published in a journal, where the arXiv URL is a convenience link, in which case it can be replaced with
    {{Cite journal |url=URL of published copy at journal or indexing service, if one is available |arXiv=URL of the preprint at arXiv |at=value that would have been in the arXiv "class" parameter |...}}
  2. Citing (rarely) an arXiv paper that has not yet been reputably published but is being cited as a primary source for some reason, and for which there is no other URL, in which case it can be replaced with
    {{Cite web |url=URL at arXiv |at=value that would have been in the arXiv "class" parameter |...}}

The one and only thing that this template does "special" is provide an optional |class= that gives the arXiv category the paper is in, and this is only "needed" for certain arXiv URLs that don't already include it. It's not actually required at all, since it does not aid in identifying and retrieving the source anyway; it's just a categorization identified that is sometimes in arXiv URLs, sometimes not, but which some like to include. If as I suspect we want to retain it:

  • The template can be replaced with a call to {{Cite web}}, that maps |class= to |at=, and passes all the other standard parameters for the template; or
  • The template can just redirect to to {{Cite web}}, after aliasing |class= to |at=.

Either way, for cases where the paper has subsequently been journal-published (case #1, the vast majority of legitimate citations using this template), the proper template to use, even if we did nothing else at all, is {{Cite journal}}. It, too, should probably support |class= as an alias of |at=, just to preserve that tidbit of information. (It's not quite as trivial as some other info we discard, like total number of pages and prefers that it being included in citations to papers it hosts.)

The {{Cite arXiv}} template serves no purpose at all as a stand-alone template, and it's standard operating procedure, both site-wide and with regard to citation templates specifically, to merge redundant ones. Instances of this template cannot be "upgraded" with additional details after journal publication without replacing the template anyway, because it does not support |doi=, |volume=, etc., while both {{Cite journal}} and {{Cite web}} don't have this problem. And the use of this identifier-based, site-specific template hampers the ability to do source verification, because it mix-and-matches completely different (for WP purposes) kinds of sources – peer-reviewed publications vs. unpublished materials – solely on the criterion of what website they're hosted at. Yet we already deprecated and merged the entire little family of {{Cite doi}} and related templates, for the same reason, that they were identifier-based. This arxiv-specific template is foolhardy for the additional reason in that it effectively encourages citation of unpublished arXiv papers as if they were equivalent to peer-reviewed journal papers as a class; it lends false reliability to what amounts to self-published/user-contributed content. While arXiv is arguably better than various other sites that allow people to publish papers on their own, this fact that it's essentially a papers-wiki for original academic research cannot be avoided. Many instances of case #2 should probably be deleted, as failing WP:V's basic requirements, but that's probably only determinable on a case-by-case basis – specifically because of this template's commingling of the two source types as undistinguished.

It's my impression that WT:CS1 prefers collectively to handle merge discussions here than take them to WP:TFD, so here we are.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  02:44, 31 July 2015 (UTC)

Two points:
  1. You have completely misrepresented the content of the discussion, instead putting forward your minority opinion as the consensus. None of the other participants said anything in favor of merging or deleting {{cite arxiv}}
  2. {{cite arxiv}} and {{arxiv}} serve completely different purposes, and merging them makes no sense. One of them is for formatting citations. The other is for formatting links to the arxiv, within citations (usually but not always redundant with the |arxiv= parameters of the various citation templates and/or with direct wikilink syntax [[arxiv:...]]).
I see no valid justification for this merge proposal. —David Eppstein (talk) 02:49, 31 July 2015 (UTC)
A clear case of WP:IDIDNTHEARTHAT by SMcCandlish here. As for his two scenarios, they manage to be both gross oversimplifications and bad practice as the same time. Headbomb {talk / contribs / physics / books} 03:10, 31 July 2015 (UTC)
I see no reason to merge Template:ArXiv with any other template, as proposed in the section header, based on the confusing narrative above. ArXiv, Cite arxiv? What templates are we talking about here?
I have looked at the original discussion. There is no consensus there, and a lot of misunderstanding and failure to communicate effectively. I disagree with the OP's suggestion that on that page, "it's become clear that...."
I suggest that this discussion continue at the original location, per WP:MULTI. – Jonesey95 (talk) 04:12, 31 July 2015 (UTC)
The value assigned to |class= in {{cite arxiv}} should not be mapped to |at= because |at= is an in-source location parameter which |class= is not.
|class= is part of the |arxiv= identifier handling code in Module:Citation/CS1. If |class= is set, its value is concatenated with the value assigned to |arxiv= at rendering. Because it is one of the predefined identifiers, |arxiv= is available to all cs1|2 templates; |class= is ignored if |arxiv= is not set.
Converting {{cite arxiv}} to {{cite journal}} is a simple matter of changing the name of the template and adding the appropriate journal parameters, typically |journal=, |volume=, |issue=, |pages= plus perhaps |doi=, |bibcode=, etc:
{{cite arxiv |last=Lodders |first=K. |date = 2008 |title=The solar argon abundance |arxiv=0710.4523v1 |class=astro-ph}}
Lodders, K. (2008). "The solar argon abundance". arXiv:0710.4523v1 [astro-ph]. 
{{cite journal |last=Lodders |first=K. |date = 2008 |title=The solar argon abundance |arxiv=0710.4523v1 |class=astro-ph |journal=[[Astrophysical Journal]] |volume=674 |pages=607 |doi=10.1086/524725 |bibcode=2008ApJ...674..607L}}
Lodders, K. (2008). "The solar argon abundance". Astrophysical Journal 674: 607. arXiv:0710.4523v1 [astro-ph]. Bibcode:2008ApJ...674..607L. doi:10.1086/524725. 
Trappist the monk (talk) 11:11, 31 July 2015 (UTC)

Non-URL not detected?[edit]

I came across this citation in ¿Dónde Están Mis Amigos?:

Cite web compare
{{ cite web | title=Spanish album certifications – Extremoduro – ¿Dónde están mis amigos? | work=[[Promusicae]] | url=Salaverri, Fernando. Sólo éxitos: año a año : 1959-2002. Iberautor Promociones Culturales, 2005. ISBN 84-8048-639-2 | language=Spanish | accessdate=1999 }}
Old [Salaverri, Fernando. Sólo éxitos: año a año : 1959-2002. Iberautor Promociones Culturales, 2005. ISBN 84-8048-639-2 "Spanish album certifications – Extremoduro – ¿Dónde están mis amigos?"] (in Spanish). Promusicae. Salaverri, Fernando. Sólo éxitos: año a año : 1959-2002. Iberautor Promociones Culturales, 2005. ISBN 84-8048-639-2. Retrieved 1999. 
Live [Salaverri, Fernando. Sólo éxitos: año a año : 1959-2002. Iberautor Promociones Culturales, 2005. ISBN 84-8048-639-2 "Spanish album certifications – Extremoduro – ¿Dónde están mis amigos?"]. Promusicae (in Spanish). Retrieved 1999.  Check date values in: |accessdate= (help)
Sandbox [Salaverri, Fernando. Sólo éxitos: año a año : 1959-2002. Iberautor Promociones Culturales, 2005. ISBN 84-8048-639-2 "Spanish album certifications – Extremoduro – ¿Dónde están mis amigos?"] Check |url= scheme (help). Promusicae (in Spanish). Retrieved 1999.  Check date values in: |accessdate= (help)

The 1999 access date properly throws an error, but the URL does not, even though it probably should. Can the module code be tweaked to detect the above URL value as an error? – Jonesey95 (talk) 11:52, 31 July 2015 (UTC)

I suggested such a check here but there was no response. Keith D (talk) 12:34, 31 July 2015 (UTC)
The extra stuff in |url= like that of your example citation is caught by the modified test described below:
{{cite news/new| url=Read more:| title=Police union wants protection under hate crime law| publisher=Politico| date=January 5, 2015}}
[Read more: "Police union wants protection under hate crime law"] Check |url= scheme (help). Politico. January 5, 2015. 
Trappist the monk (talk) 13:04, 31 July 2015 (UTC)

(edit conflict)

The value in |url= is not determined to be bad because it contains one or more colons. To satisfy the one of the conditions of the test, a colon may be preceded by anything but a forward slash. I don't think that spaces are allowed in a uri so I've tweaked the test so that the test will fail if the uri has spaces. More research is required I think. I've tweaked your compare template.
Trappist the monk (talk) 12:48, 31 July 2015 (UTC)
Indeed, external links in Wikipedia cannot have a space since we cannot manipulate the href attribute of the a. However, they can have a character encoded space e.g. %20. --Izno (talk) 13:37, 31 July 2015 (UTC)
External links in WP cannot contain white space, per Help:URL#Linking_to_URLs. I wanted to make sure that there was verification of this statement, and it looks like there is.
I suspect that this new test will unearth a lot of faulty URL parameter values (I'm guessing between 1,000 and 10,000) that have previously gone undetected. More work for us gnomes.... – Jonesey95 (talk) 14:13, 31 July 2015 (UTC)
The gnomes shall inherit... --Izno (talk) 14:43, 31 July 2015 (UTC)
It's not just external links in Wikipedia. URLs anywhere cannot contain spaces (internal links in Wikipedia that contain spaces actually contain underscores when expressed as URLs) - they're not explicitly allowed by RFC 3986, therefore they are forbidden. Percent encoding is a way to workaround the problem that forbids the use of several characters (not just spaces) in URLs, see section 2.1. Percent-Encoding. Indeed, spaces can have a special meaning, see Appendix C. --Redrose64 (talk) 19:40, 31 July 2015 (UTC)
This added check does seem like an improvement to the templates. Have the templates also recently changed to turn newlines in article titles into spaces? I seem to remember that causing problems with links before, but now I can't get it to misbehave. —David Eppstein (talk) 20:39, 31 July 2015 (UTC)

I've tweaked the url test a bit. The first thing the sandbox does is look for space characters in the whole of the url. In the earlier fix the sandbox checked for space characters only in the scheme portion. Next the sandbox tests for protocol relative urls (those urls that begin with '//' – no scheme). And lastly sandbox looks at the composition of the scheme itself. The scheme must begin with a letter, may contain letters, digits, and the plus, period and hyphen ('+', '.', '-') characters and be terminated with a colon (':').

  • [ "Fail: no scheme, not protocol relative"] Check |url= scheme (help). 
  • [http// "Fail: no colon"] Check |url= scheme (help). 
  • [8 "Fail: scheme begins with a digit"] Check |url= scheme (help). 
  • [ht tp:// "Fail: space in scheme"] Check |url= scheme (help). 
  • "Fail: space in domain name" Check |url= scheme (help). 
  • [[4] "Fail: wikimarkup"] Check |url= scheme (help). 

We support scheme:path urls in {{cite newsgroup}} so the url we create should look like news:comp.os.minix

And the usual suspects:

There is a list of official and semi-official uri schemes at URI scheme.

Trappist the monk (talk) 23:13, 31 July 2015 (UTC)

Italicization of websites in citations[edit]

If I may revive an old discussion (pardon me if there are other threads), I don't understand why we are italicizing websites (thru the |website= parameter) in citation templates. The argument seems to be that the alias of |website= is |work= (meaning you can use one or the other but not both) and obviously |work=, |journal=, etc. should be italicized. But the plain fact is that, per the MOS, while we italicize the names of publications, we (generally) do not do so for websites. So these parameters should not be interchangeable. For example: TMZ, Gawker, and other sites and urls should not be italicized. And while for content found in both a print publication and on its website I may cite The Advocate or Entertainment Weekly, if the actual url is being cited ( or it should not be italicized. This seems like a no-brainer.— TAnthonyTalk 21:16, 31 July 2015 (UTC)