Jump to content

Help talk:Footnotes/Archive 2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Lowercase sigmabot III (talk | contribs) at 02:11, 29 December 2017 (Archiving 1 discussion(s) from Help talk:Footnotes) (bot). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Archive 1Archive 2

(4) Reference lists: automatically generated

This is a gruesome list, but I don't think there is any reason why editors need to read it. Just mention somewhere that {{reflist}} is important so DON'T FORGET IT. Perhaps with a small illustration of a == Notes == header followed by a {{reflist}}. Then move everything in this section to the Talk page.--Margin1522 (talk) 01:58, 25 September 2014 (UTC)

Help desks etc. often attract threads like this. We need to direct them somewhere that explains what happened. Not to another talk page: they get archived, so it needs to be a reasonably-stable page. --Redrose64 (talk) 07:57, 25 September 2014 (UTC)
I wrote this in direct response to questions on the Help Desk and Village Pump. The implementation of AGRL continues to confound our editors. --  Gadget850 talk 11:30, 25 September 2014 (UTC)
Yes, the Village Pump is where I saw it. In fact, that's what prompted these suggestions. I've seen the question myself, especially about Talk pages. But this is a basic How To page. The first (only?) thing it needs to do is explain how to do it right. I can see explaining the first 4 AGRL points of this section, with a special mention of Talk pages. But I think the highly technical stuff is off topic here. We shouldn't have to mention the MediaWiki version, much less send people to bugzilla.
About the frequently asked question, how about adding it to Wikipedia:Village pump (technical)/FAQ? About the bugzilla links, I can't really think of a good place for them. Maybe a permanent subpage somewhere for the definitive answer to these questions, or a public Bugs FAQ. I don't know. But I definitely think a How To page is not the place to talk about buggy behavior by the MediaWiki software. --Margin1522 (talk) 12:30, 25 September 2014 (UTC)
Where do we explain why you can't remove the AGRL from talk pages? --  Gadget850 talk 14:07, 25 September 2014 (UTC)
You can. You do so by putting a manual reference list in the appropriate place. Jackmcbarn (talk) 14:33, 25 September 2014 (UTC)
Exactly. Actually what I think the first part of this list is doing is saying that it would have been better to include a header and reference list markup at the end of page. I agree 100%, at least as far as en wiki is concerned (what would the header be in French?). But this page is not the place to lobby for a better design in the next version. Users can see what's going on. What we should do here is stress that it's important to close your <ref>...</ref> tags and not forget the reference list markup.
About the second part, I had to read the bug reports to understand it. The problem is when the last </ref> is missing? That is actually a pretty rare case. In general it's easy to forget a </ref> tag, and I think users are used to what happens when they do. As an editor, I recognize it immediately. Once again, I think what we should do here is to stress, always close your <ref>...</ref> tags. --Margin1522 (talk) 16:16, 25 September 2014 (UTC)
A missing </ref> is not that rare (check the Help Desk); there is an error check for it but it does not work for the last set of tags on a page. --  Gadget850 talk 16:21, 25 September 2014 (UTC)

"Just mention somewhere that {{reflist}} is important so DON'T FORGET IT." The problem is that the majority of novice editors do not start by reading this help page— they copy what they see elsewhere until it doesn't work, then we refer them here. We have a series of help pages for Cite errors which all start by referring the editor to this help page. So we need to show how to do it correctly, show the limitations and lead them to advanced help where needed. --  Gadget850 talk 16:49, 25 September 2014 (UTC)

Cite errors is a great page. I didn't know it existed. We should link to that. It would be a great place for the missing </ref> error, except that this one doesn't generate an error. Are there others? Maybe errors and trouble deserve a section of their own, entitled something like "Errors and troubleshooting"? --Margin1522 (talk) 02:59, 26 September 2014 (UTC)
Its subpages are linked, where appropriate. For example, an unclosed <ref> displays Cite error: There are <ref> tags on this page without content in them (see the help page). Try that blue link. --Redrose64 (talk) 09:13, 26 September 2014 (UTC)
Sorry, Redrose64, your example isn't displaying for me. Are those MediaWiki classes that it's wrapped in? Anyway, you are saying that the appropriate place for links to the error page is an error message? That's fine. What I am saying is that if you are trying to explain to a user how to deal with an error, wouldn't it be better to send them to the error page instead of the How To page?
Maybe I should explain what I'd like to do here. I'd like this page to be less function oriented and more task oriented. I have some experience in documenting complex systems (quite a bit, actually). It's always easier for the engineers to hand over the function specs and say "use this". Which is fine. The reference section of a manual should completely document everything that the system can do. But that's Part II. Part I should be a "How To" guide to accomplishing what the user wants to do. They want to write a footnote. They want separate footnotes for a table. OK, we can explain that. If they run into trouble, they can consult the Troubleshooting section. For technical details, they can read the Release Notes. And so on. We don't have to use this page to explain every function in the system just because the function exists.
This Help page is averaging over 400 views a day. People are coming here on their own to learn how to do footnotes. We should try to make the page as clear and easy to understand as we can. We shouldn't be using it as a catch-all for every detail related to footnotes, like the proper class to use for references in a {{navbox}}. --Margin1522 (talk) 12:16, 26 September 2014 (UTC)
OK, so it doesn't display here without a suitable user pref. But it does show outside of talk space, see Wikipedia:Sandbox. --Redrose64 (talk) 12:28, 26 September 2014 (UTC)
You can transclude the message; see {{broken ref}} for details. --  Gadget850 talk 12:57, 26 September 2014 (UTC)
There are <ref> tags on this page without content in them (see the help page).
Thanks, that may come in handy. But another example of something that I think should be covered somewhere (but not here, at least not in detail) is references in infoboxes. Those often have spaces for references at the bottom, and often I see those spaces occupied by what looks like [1] [2] . Is that what is supposed to be going on there? If not, then I think the proper style should be explained on a page that is sure (or likely) to be read by infobox authors. --Margin1522 (talk) 18:22, 26 September 2014 (UTC)
Do you mean like the [1][2][3] at the bottom of the infobox of NBR 224 and 420 Classes? I did it that way to avoid cluttering the individual infobox rows with refs. Generally speaking though, an infobox should summarise the article, so most (or maybe all) of the infobox content that needs a ref should be refd in the article text. But just as we don't mandate any single ref style, I think that it's something that should be determined on a case-by-case basis. --Redrose64 (talk) 18:53, 26 September 2014 (UTC)
(edit conflict)Those infoboxes use standard references and you are seeing the footnote markers just like you would in the content.[1][2] There is nothing different from the standard Footnote system. If there are issues, it is usually a problem with the infobox markup. --  Gadget850 talk 18:56, 26 September 2014 (UTC)
Yes, that's what I meant. I thought it looked kind of strange to have footnote markers attached to nothing, but I guess it's OK if you regard them as being attached to the infobox as a whole. I just confirmed that its possible to write it like this. References: [1][2][3] So if I ever write an infobox, that's what I'll do. --Margin1522 (talk) 06:05, 27 September 2014 (UTC)

However, I still think that the AGRL deserves a page of its own. This is not supposed to happen -- it's a puzzling phenomenon caused by an error. If it had a separate page, then we could go into detail about what causes it and how to fix it. When I get some time I'll see if I can draft what such a page might look like. --Margin1522 (talk) 07:06, 28 September 2014 (UTC)

@Gadget850: @Redrose64: I have created a draft Help page for AGRLs. I think it should be easy enough for most editors to follow. I'd appreciate any comments on the content. If possible I'd like to shorten the discussion of AGRLs on this page, and direct readers to the new page for the details. – Margin1522 (talk) 23:52, 13 October 2014 (UTC)
With a little help, I have created the page Help:Automatically generated reference list and linked to it from a shortened section in this article. I hope this will be acceptable to both groups of readers -- those who just want to fix the problem and those who want to understand it. – Margin1522 (talk) 06:54, 20 October 2014 (UTC)

(3) Reference lists: multiple use

This has only one sentence. We could delete the section and just mention somewhere that {{reflist}} can be used several times on the same page. Since |close= is not not needed, don't mention it. Do mention {{reflist-talk}}.--Margin1522 (talk) 01:58, 25 September 2014 (UTC)

|close= is still extant in a number of places, so we need to explain that is is obsolete.
You mean that |close= is still required is placed like {{notelist}}? That's true, but if we tell users that {{reflist}} can be used multiple times, I think they will just expect it to work. Nobody is going to ask why {{reflist}} doesn't need |close= when {{notelist}} does.
Or do you mean that it's still seen in article markup, and people might copy it? --Margin1522 (talk) 16:10, 25 September 2014 (UTC)
|close= is not needed, but is probably still used in a number of places. When an editor encounters the close parameter, we should document that it is no longer needed. --  Gadget850 talk 19:00, 26 September 2014 (UTC)
I moved this up to the section that introduces ref lists. I hope that's OK. I think it may be easier to understand while the explanation is still fresh in the reader's mind. – Margin1522 (talk) 07:41, 20 October 2014 (UTC)

AGRL shortcuts

The other day an editor added a pair of shortcuts to the new AGRL page. Since Help:Footnotes#Reference lists: automatically generated on this page already has a shortcut (HELP:AGRL), and since all of the AGRL shortcuts should point to the same place, I edited the new shortcuts to point to this page, and added an invisible comment to the effect that these other shortcuts exist. This raises the question of what to do with them. I can see three options.

  1. Leave things as they are, with the other shortcuts mentioned in a comment.
  2. Make the new shortcuts visible in the Shortcuts box.
  3. Edit all AGRL shortcuts to point to the new page, and move the Shortcuts box to the new page.

I am fine with any of these. I think the decision should be up to people who are going to cite the shortcuts, on a help desk or elsewhere. – Margin1522 (talk) 10:53, 24 October 2014 (UTC)

I did the third option, because that page seemed more useful, having the bug info and complete explanation. – Margin1522 (talk) 04:42, 26 November 2014 (UTC)

About shortcut hatnotes

@Redrose64: @Jonesey95: I deleted a couple of these, per WP:Shortcut#Readability, and now I see that they've been restored. I can vouch for the fact that the sentence in Readability is supposed to justify removing hatnotes like this, because I wrote it. I was trying to be diplomatic about it, but that was the intention. The problem is that the top of useful Help pages are being cluttered up by redirects to completely unrelated pages.
I suggested this policy on WT:Hatnote#Redirect hatnotes for shortcuts and WT:Shortcut#Shortcut hatnotes considered harmful, and there were no ojections there. The only comments were supportive, like this is a good idea. If necessary I could add a new item to WP:Hatnote#Examples of improper use, and strengthen the sentence in Readbility to make this clear. If there are objections, could they be raised on one of those talk pages?

This is part of an ongoing project to make Help pages more focused and easier to use. I won't go into that, but there is a legitimate reason for this. Basically, hatnotes are for articles with similar titles. We don't need hatnotes for shortcuts, even if the current page has a shortcut that could conceivably point somewhere else. – Margin1522 (talk) 03:37, 24 October 2014 (UTC)

That's why I changed the templates to {{For}} templates, since that is usually how "you might be looking for..." is often written in hatnotes. The idea is that someone might type WP:FOOT in an attempt to find football-related articles. The hatnote exists to guide that reader to the correct page. Having no hatnote in place is unhelpful. – Jonesey95 (talk) 03:45, 24 October 2014 (UTC)
Sure. But, they might also have a pain in their foot, or be wondering when to use feet vs. meters. Are we supposed to add hatnotes suggesting that they try the medical project or the MOS? And when it comes to "FN", there is no limit to what users might associate with that.
From the guidelines at WP:SHORTCUT and WP:HATNOTE, there are couple of basic principles. 1) When you use a shortcut, you and your readers are both supposed to know what it means. 2) Hatnotes are supposed to be for related articles. And not just related, but related in specific ways, like contains the same words in the title or has a disamb page. There are no disamb pages for shortcuts. If you ask why, I think the reason shows why there should also be no hatnotes for shortcuts.
I'd be happy to continue this discussion, but perhaps it would be better on one of the related Talk pages? – Margin1522 (talk) 05:19, 24 October 2014 (UTC)
If somebody enters WP:FOOT or WP:FN expecting to find something else, they need to be informed where the most likely possibilities (Wikipedia:WikiProject Football and Wikipedia:Fringe theories/Noticeboard) are really found: we don't want them left wondering. This is why we have hatnotes. A hatnote which says "For the fringe theories noticeboard, see Wikipedia:Fringe theories/Noticeboard" is better than nothing, but for the person who didn't arrive via WP:FN they may believe the hatnote to be an error, and so remove it. To discourage such removal, we show what that inward link is, hence why we use the {{redirect}} hatnote specifically. See for example the hatnotes at the top of WP:ILL; compare those at H:ILL which don't mention the inward shortcut, since a search for help on Illinois is unlikely. --Redrose64 (talk) 11:13, 24 October 2014 (UTC)
Aren't you assuming that users type shortcuts as a way to discover articles? I submit that this doesn't happen, because it doesn't work. Users discover articles and projects in the usual ways – by seeing them mentioned somewhere, by clicking links, or by typing words in the search box. Nobody thinks to themselves, "Hmm, I wonder if there is a noticeboard for fringe theories. Let's try WP:FN".
Even if someone did try that and failed, it's not like they are lost and need our help. They can always go back to the search box and try typing "WP:FRINGE". As soon as they get to "WP:FRI", a dropdown list appears with the following items: "Wikipedia:Fringe theories", "Wikipedia:Fringe theories/Noticeboard",... Voila! What could be simpler?
So what these shortcut hatnotes are is a solution to a very rare problem that solves itself almost immediately.
Meanwhile, what about the demerits? The problem with hatnotes is that they are intrusive and distracting. People come to this page wanting to read about footnotes. If instead they are forced to read about the fringe theories noticeboard, it's no wonder that they find that irritating and try to delete it.
If you read through the guideline on hatnotes, the spirit behind it is don't be irritating and don't force yourself on the reader. People are always trying to add information that they think might be helpful or related in some way. The policy is, don't do that. Add the information only when it is really necessary. The only thing the other stuff does is delay readers from getting to the information they want. – Margin1522 (talk) 02:14, 25 October 2014 (UTC)
Boy, I can sure attest to this, Margin1522, and declare that I was both irritated and confused when I landed on this page while searching desperately for information on how to cite the same source multiple times while specifying different pages for each reference but w/o having to post redundant data - and immediately saw a distracting link for "Wikipedia:Fringe theories/Noticeboard" at the top of the page!
I was like, "WTF?" and almost abandoned the page because fringe theories have nothing to do with the information I thought I was going to find here.
I just like to read and edit articles, and yet I'm amazed by how difficult some ostensibly more experienced Wikipedia users seem to want to make the process of finding useful information on how best to actually add and edit encyclopaedic content. Redrose64, I can assure you that "a hatnote which says "For the fringe theories noticeboard, see Wikipedia:Fringe theories/Noticeboard" is absolutely [not] better than nothing", and it defies credulity that you people think that the work of the editor is faciliated by adding distracting links to unrelated material at the top of how-to guides that are already hard enough to find. Azx2 02:53, 3 December 2014 (UTC)

Placement of tags

In copyediting Wikipedia talk:Articles for creation/Thomas(ine) Hall, I noticed that the references (among other problems) were all inside the sentence and spaced off from the text and punctuation [1] . I knew that was against style standards, but I could not for the life of me find where it said so. Finally I found a couple of mentions—

— the second of which has a link to Wikipedia:Footnotes#Where_to_place_ref_tags, which led only to the top of this page. Evidently there was a section before, but in editing it got lost at some point.

  1. ^ Like that.

I've made a {{markup}} table in the appropriate place, and put an anchor there with that name. To discuss this with me, please {{Ping}} me. Thnidu (talk) 01:25, 14 January 2015 (UTC)

@Thnidu: It's at MOS:REFPUNC. --Redrose64 (talk) 09:22, 14 January 2015 (UTC)
@Redrose64: Thanks. There was no guidance or link in WP:Footnotes. I've left my table in place there, and added a link. --Thnidu (talk) 21:48, 14 January 2015 (UTC)

Substitution

How does <ref group=lower-alpha> render [a] and not [lower-alpha 1]? 2602:306:36D8:9560:6D9A:CDE9:C65E:97A2 (talk) 15:45, 22 January 2015 (UTC)

There's a line of LUA code in Module:Citation that checks for this special value, and the others, and treats them specially. -- John of Reading (talk) 16:03, 22 January 2015 (UTC)
Ah, that's too bad. I wonder if there's any way to do it without Lua... Thanks anyhow! 2602:306:36D8:9560:C136:1D60:F269:3F3F (talk) 16:12, 22 January 2015 (UTC)
It's not Module:Citation at all: it's the Cite.php extension, see H:PREGROUP and Help:Cite link labels. --Redrose64 (talk) 17:09, 22 January 2015 (UTC)
Redrose64 is correct. See Cite if you want to go through the code. --  Gadget850 talk 19:37, 22 January 2015 (UTC)
I have an allied problem. What I want is group=XX on all the <ref>s , then {{reflist|group=XX|liststyle=lower-alpha}}. But although the actual reflist has lower alpha, the associated refs still have decimal – [XX 1] etc rather than [XX a] -- Unbuttered parsnip (talk) mytime= Sat 22:46, wikitime= 14:46, 14 February 2015 (UTC)
Not a related issue. The short answer is to use {{efn}} and {{notelist}}. --  Gadget850 talk 15:54, 14 February 2015 (UTC)
@Unbuttered Parsnip: The |group= and |liststyle= (n.b. not list-style) parameters of {{reflist}} are intimately related and mutually exclusive; they're not intended for use together (if you try using both, |group= is ignored). You can use <ref group=lower-alpha>...</ref> with {{reflist|group=lower-alpha}}. --Redrose64 (talk) 19:25, 14 February 2015 (UTC)
@Redrose64: That's what I figured – what I would call an "undocumented non-feature". Definitely undocumented. I don't quite see why those two functions should be bound together, and as I'm demonstrating, they didn't ought to be. Never mind, back to Plan A (regular listing jumbled up with the rest). -- Unbuttered parsnip (talk) mytime= Sun 07:18, wikitime= 23:18, 14 February 2015 (UTC)
@Unbuttered Parsnip: Please note that although you used {{ping|Redrose64}}, your post didn't send me a notification. This is because your signature uses indirect links - if you remove both instances of :en: it should work as intended. --Redrose64 (talk) 09:50, 15 February 2015 (UTC)

@Unbuttered Parsnip and Redrose64:

Long answer:

  • If |group= is set to one of the predefined styles (upper-alpha, upper-roman, lower-alpha, lower-greek or lower-roman) then the list style is set. <ref> must use the same group.
  • If |liststyle= is set then it is explicitly used for the list style, and |group= must be set separately.
  • If |liststyle= is set to other than one of the predefined styles, then the <ref> tags can not be styled to match.
  • Thus, |liststyle= is really not useful. It isn't documented on this help page, only at {{reflist}}. We need to work on the {{reflist}} documentation.
  • H:PREGROUP is the primary documentation for using predefined groups. Using the templates will eliminate confusion.

--  Gadget850 talk 10:50, 15 February 2015 (UTC)

Clarification: You can use |group= and |liststyle= together. If you set |group=note and |liststyle=lower-roman then the in-text cites will show as [note 1] and the reference list will be styled as:

i. ^ Citation

I don't see that as useful, but it is in use in 159 articles. (search articles) --  Gadget850 talk 14:41, 16 February 2015 (UTC)

I have updated the {{reflist}} documentation. Do we really want to document |liststyle= here? As I recall, that parameter was added before we added the predefined groups. --  Gadget850 talk 13:31, 17 February 2015 (UTC)

Can the editor's preprocessor detect duplicate references?

I was editing A Rape on Campus and came across a case where someone had reused a ref name, which caused a source to point to the wrong article. Can this be detected and produce an error message? Note that the implementation would need to check the whole article, because someone might edit just one section, so you can't just scan the text submitted from the edit window. Dingsuntil (talk) 10:42, 25 March 2015 (UTC)

Yes, with RefToolbar. Select the Cite button, then Error Check. -- Gadget850 talk 10:44, 25 March 2015 (UTC)
Thanks, that's helpful. However, what I'm asking is essentially whether we can have this run every time anyone makes an edit, or at least an edit which modifies references. Dingsuntil (talk) 15:17, 25 March 2015 (UTC)

Use quote once in repeated citation (without using sfn)

I find short footnotes cumbersome and use Template:Rp to show page numbers on repeated citations. Is there a way to use a named reference multiple times (in my case about 2-4 times...not an excessive amount), but only include a quote in one location (without converting the entire article to use short footnotes)? AHeneen (talk) 18:42, 19 April 2015 (UTC)

Help:Explanatory notes

I will be deleting User:Gadget850/Help:Explanatory notes in a few weeks. If anyone want to do anything with it, do so. -- Gadget850 talk 10:28, 31 May 2015 (UTC)

Help please

Hi there, sorry if this not the appropriate forum, feel free to point me to one.

I can't get footnotes to work on an article. I saved an interim version here. Could you please help? For bonus points, I'd like to use numerals instead of latin letters. Thanks. 87.112.180.82 (talk) 07:50, 1 December 2015 (UTC)

Your definition of the "cursive" footnote didn't work because the footnote text contained an equals sign. This problem affects all templates, not just {{efn}}. The usual workaround is to add 1= at the start of the text: {{efn|name=cursive|1=Lowercase...}}. A better workaround in your case would be to remove the span tags that specify a list of fonts, as Wikipedia articles should not be guessing what fonts a reader has installed. The documentation at {{efn}} shows the available numbering styles. -- John of Reading (talk) 08:03, 1 December 2015 (UTC)
Thanks! It worked. Now I can't change to numerical notes though. Here's my attempt. As you can see, an earlier <ref> gets dragged in for some reason... 87.112.180.82 (talk) 08:25, 1 December 2015 (UTC)
Oh yes, to do that you'll have to set the group name explicitly on the {{refn}} calls and the {{reflist}}; something like |group=tablenote. But I suggest you stick with letters; why have two footnotes both called "1"? -- John of Reading (talk) 09:05, 1 December 2015 (UTC)
Thanks but I couldn't get it to work with another list of numbers, I'm forced to use the group name. Let's stick to letters indeed.
I just tried to add a new note. Another pathetic failure. Any help appreciated, thanks. 87.112.180.82 (talk) 23:39, 1 December 2015 (UTC)
This is the same as the first problem: the note named "cursived" contained equals signs and a list of font names. To make it work you either need to add 1= or to remove the span tags. -- John of Reading (talk) 06:59, 2 December 2015 (UTC)
D'oh! Sorry, and thanks for your help + patience. We could do with a more helpful error message there... hard to fix I guess. 87.112.180.82 (talk) 07:09, 2 December 2015 (UTC)
Unfortunately, by the time that error detection becomes possible, the MediaWiki template parser has already split the parameter at the first equals sign, into what it thinks is the param name and its value. --Redrose64 (talk) 10:03, 2 December 2015 (UTC)

Do ref names with apostrophes require quotation marks?

WP:REFNAME implies that a ref name with an apostrophe in it requires quotation marks, but such references appear to work fine and do not generate an error message. Can someone clarify this situation?

See this discussion for more detail. Thanks. – Jonesey95 (talk) 17:08, 7 January 2016 (UTC)

@Jonesey95: Have a look at my sandbox (permalink). It looks as if the software has ignored the reference name entirely; references 2 and 3 have not been combined. -- John of Reading (talk) 17:43, 7 January 2016 (UTC)
@Jonesey95: If in doubt, quote it. It doesn't do any harm. --Redrose64 (talk) 18:44, 7 January 2016 (UTC)
John of Reading's sandbox shows me that the software does not handle ref names with apostrophes correctly. If that is the case, then (a) the documentation at WP:REFNAME is incomplete and (b) we should have some sort of error detection for reference names that are malformatted. I'm happy to change the documentation, but how do we make the error detection happen? What part of the MediaWiki software or the en.WP configuration would need to change? – Jonesey95 (talk) 19:36, 7 January 2016 (UTC)

Flagging inadequate referencing

(Deleted, see below.) --Thnidu (talk) 02:27, 21 May 2016 (UTC)

Thnidu, I know that technical problems can be frustrating, but venting your frustration here does not help anyone. Would you consider removing this comment and posting a calmer summary at WP:VPT? – Jonesey95 (talk) 02:57, 21 May 2016 (UTC)
@Jonesey95: Thank you for being so tolerant, and I'm sorry for setting the screen metaphorically on fire. I knew I was going way over the top, but that was the second or third time already and I couldn't take it. It's one in the morning here, I'm already up way later than I wanted to be, and I'll try to follow the rest of your advice tomorrow,– that is, sometime after sleep and waking.--Thnidu (talk) 05:10, 21 May 2016 (UTC)

List of citations and alphabetical order

Why is the List of citations (reflist) in wikipedia in numerical order? Why it's not in alphabetical order by the names of the author, like in academic literature etc? Current style of ordering of the List of citations is in my opinion not very efficient. In case of longer articles with many references, this alphabetically messy ordering of the List of citations makes pretty hard to find a citation by the author's name, and most notably, this causes the editor to easily make unnecessary repetitions in the List of citations, because it's not easily seen whether the same reference is already existing in the list or not (references with same name does not appear side by side in the list). Are there any way to put reflist in alphabetical order? --Mustvalge (talk) 14:59, 9 July 2016 (UTC)

For example, in the article DNA, in the reflist there are written at least two times the same reference: Watson JD, Crick FH (1953). "A Structure for Deoxyribose Nucleic Acid". Lists of citations in Wikipedia articles are probably full of these unnecessary repetitions --Mustvalge (talk) 15:13, 9 July 2016 (UTC)
References are listed in numerical order by the order in which they appear in the the article. It is possible to list sources in alphabetical order using {{Harvard citation}}-style templates and other methods. See Magna Carta for an example. – Jonesey95 (talk) 15:50, 9 July 2016 (UTC)
@Mustvalge: See Shortened footnotes and NBR 224 and 420 Classes. --Redrose64 (talk) 20:18, 9 July 2016 (UTC)
Ok thanks. That's close for what i had in mind. Basically the paragraph "Notes" in article NBR 224 and 420 Classes is a mediator/link collection that has links to "References" and to text. Analogy is an article section "References" in article Magna Carta, that is basically a link collection mediating text and "Bibliography". I thought of something hybrid of "Notes" and "References" (in NBR 224 and 420 Classes), or "References" and "Bibliography" (in Magna Carta) - a compact way that links text and list of citations (reflist) that is in alphabetical order, not in numerical order.
Are there any way to include some kind of sort function to List of citations (reflist) that will sort citations alphabetically if needed, or by the order in which they appear in the the article when wanted? --Mustvalge (talk) 22:02, 9 July 2016 (UTC)
Not as far as I know, and I think that you'd need some sort of JavaScript gadget to do it - you could ask at WP:VPT (remember to link back here, see WP:MULTI). The reflist is built up by the MediaWiki software in the form of a HTML ordered list, with each list item being added in the order in which the <ref>...</ref> tags (or {{sfn}} templates) first appear in the page. We can't change the way that the MediaWiki software works, other than by filing a phab: ticket. --Redrose64 (talk) 22:16, 9 July 2016 (UTC)
I wonder why one would want such a thing? For your Watson/Crick example, the short footnote format would consolidate that to one full citation that would be easy to find, since it would be listed in alpha order in the Sources section. Any short citations that are reused are automatically detected and listed in the Notes section (see note 1 in NBR 224 and 420 Classes, which appears three times in the article). – Jonesey95 (talk) 01:57, 10 July 2016 (UTC)
I see wiki has couple of choices/styles to arrange list of references. This short footnote style is well enough, but i'm not sure right now how useful is this for a reader - i see this short citation section basically as just a mediating link collection (Notes section in NBR 224 and 420 Classes) takeing space in article. Yes, but the short citations has a page numbers..
Does Wiki have a alphanumeric style for citations? A style that has the list of references in alphabetical and numerical order but in text the numbers corresponding to citations are randomly - that means that the numbers in the text are assigned after the reference list has been alphabetized, and numbered. This seems to be the best solution for what i thought initially --Mustvalge (talk) 09:24, 10 July 2016 (UTC)
Here's an example, in case my explaining skills aren't good enoguh--Mustvalge (talk) 12:29, 10 July 2016 (UTC)
Yes, but the MediaWiki software as it stands cannot do this, you would need either a personal JavaScript gadget (somebody at WP:VPT might be able to help), or if you want it changing for everybody, the only route is phab:. Also, WP:DAW. --Redrose64 (talk) 15:54, 10 July 2016 (UTC)
Mustvalge: I believe your question arises from a common confusion of two related but distinctly different concepts, both ambiguously subsumed in the term "citations". What the {{reflist}} produces is a list of the notes generated by <ref>...</ref> tags. These generally contain citations, which can be either a full citation that contains the bibliographic details of a source, or a short cite, which is the abbreviated "Smith 2011" kind of reference to a full citation. But notes can also contain (say) just explanatory notes, without any references. Notes are most conveniently listed in order of their appearance in the text, and numbered.
The repetitions you refer arise from editors using a source in more than once place, and not knowing how to make mulitiple "references" (i.e., pointers) to a given source. This is where the {{harv}} templates are handy. If the first use of a source is properly encoded in a citation template the subsequent "references" can be done with something like {{Harv|Watson|Crick|1953}}, and a link to the full citation is created automatically.
If you want all of the sources ("citations") to be listed in (say) "alphabetical order by the names of the author", or in any other order, then put the full citations (templated) into a separate section. Order them as you will, and link to them from the text with short cites. ~ J. Johnson (JJ) (talk) 22:48, 11 July 2016 (UTC)
This is not true that the repetitions i refer arise entirely only from editors using a source in more than once place, and not knowing how to make mulitiple "references" (i.e., pointers) to a given source, as you say. It is your assumption with no proof. By editor i mean a person who knows how to make multiple references. You can check it out by seeing who made the repetition and check whether the same editor has used this multiple references thing also or not. The thing is that editors know but still make repetitions. Another thing is that as an occasional editor myself, alphabetically ordered list of citations would make it easier to see and sort out repetitive full citation. The method of albhabetical ordering you describe seems not very convenient for editors to use alltimes.
Thanks for clearing the concepts here, but did you look the example i posted here? This should make it clear what i tried to explain. That is an another systems for organizing reference number citations in an article, and i'm surprised it's not used in wikipedia before. Or is it? It would be easier for editors and also a reader should be prefering to find the list of references in alphabetical order. --Mustvalge (talk) 05:07, 12 July 2016 (UTC)
Thread about alphanumeric citations started at Wikipedia:Village pump (proposals)#List_of_sources_(reflist),_why_not_to_order_alphabetically?--Mustvalge (talk) 05:31, 12 July 2016 (UTC)
Mustvalge, your "example" is just one way of doing "referencing", and has several short-comings. I could replicate that example here, just to show you that it can be done here, but the way of doing it is not recommended. If you want an ordered list of sources then I recommend the way I just explained. Particularly, put your sources into their own section (e.g.: "Sources"), and then you can put them into any order you wish. It is a lot more convenient than yo may realize, and you should try it a few times get a feel for it. ~ J. Johnson (JJ) (talk) 22:02, 12 July 2016 (UTC)
What shortcomings? Please explain and prove or don't answer at all. Thanks --Mustvalge (talk) 08:56, 13 July 2016 (UTC)
Your attitude is uncivil, and does not encourage discussion. Note that I do not have to "prove" anything at all. But I will point out one critical shortcoming in your proposal: you do not comprehend the range of how notes are used, and of all the special cases that would need handling. ~ J. Johnson (JJ) (talk)
Wright. How is my attidude uncivil when u don't even bother do explain the bases of your assumptions? It's hard do have a discussion with someone who distances oneself from the discussion and the idea i try to explain by saing something like "you do not comprehend", "don't grasp the difference". Tthis is no better than hitting the wall. Could you explain how is that that i don't comprehend the range of how notes are used? Why should or would theses "special cases" needs to be handled? Besides of saing that my attitude is uncivil u have came up only with some few fuzzy arguments about why the method i mentioned should not work. But in the mean time, it's being use widely in some covermental institutions and it's one of the two basic systems for organizing Reference Number citations (if to belive what i've read about this). This method i mentioned is not somekind of my own invention. I just see it as a great tool that helps to edit references. And it would be simpler than this {{Harvard citation}}-style. In smaller wikipedias the latter one is not used also. I mean, why are you against of a thing that would just put references list in alphabetical order? And bear in mind that i'm not a native english speaker, that means i'm more into idea sharing than into case specific definitions of words. Do u understand?--Mustvalge (talk) 07:04, 14 July 2016 (UTC)
This should not be so hard to do because only difference between currently used usual style/method and the method i propose is that that in case of proposed method, the numbers in the text are assigned after(!) the reference list has been alphabetized, and numbered. Currently it's like before. So i don't see overly big changes accompanying application of this method..--Mustvalge (talk) 09:44, 14 July 2016 (UTC)
If it's so easy to do, you should check out this repository, and also this one since Parsoid reimplements the functionality of the extension, and submit patches that make it an option. If you're not a programmer, then you're not really qualified to determine whether it really is easy to do. Anomie 11:46, 14 July 2016 (UTC)
User Anomie, but what's your opinion?--Mustvalge (talk) 20:56, 14 July 2016 (UTC)
Nor are you really qualified to even discuss what should be done, as you evidently lack certain basic knowledge of referencing. And your incivility is demonstrated in your demand for "proof", "or don't answer at all." That is not a language problem, that is an attitude problem. As before, I do not have to prove anything. To which I add: I am not required to explain anything, either. You want an explanation? How nice. ~ J. Johnson (JJ) (talk) 21:19, 14 July 2016 (UTC)
ugh :) user J. Johnson (JJ), you should make some tea maybe.. --Mustvalge (talk) 22:13, 14 July 2016 (UTC)
Is it possible just do disregard this attitude- and who is qualified for what thing? This is really not very constructive. My apologies if i did made someone sensitive. In the mean time i tried to look if there's something written in wikipedia about the method i mentioned, and i didn't manage to find any. So i belive that so far it's not even known to be considered as an option. So, at least i can point out that such a method exsists if someone might like to consider it. Personally it makes more sense to me than this usual style.
Only difference in appearence that this "alphanumeric sytem" does compared to usually used author–number system seems to be that it just arranges numbers in the text differently (besides of putting references section in alphabetical order). And that seems to be all, nothing more. Is it really that only shortcoming that this "alphanumeric sytem" may have is technical feasebilty?
As my questions arised from noticeing that very frequently wikipedia articles consists unnecessary repetitions in their references section and it's rather hard to manually eyeball these out. So i thought what could make this easier. The conclusion was that alphabetical ordering would be helpful. I could prefer to use this {{harv}} template-schema, but i can't imagine of makeing changes in all the text just to convert the references section alphabetical for better overview of possible repetitions, article by article. --Mustvalge (talk) 11:13, 16 July 2016 (UTC)

Split by source?

List of Alpha Phi Omega members has about 2/3 of the references from issues of the Fraternity magazine and the remaining third from various unique sources. Would it make sense in any way to do a footnotes group for the fraternity magazine (and then no group for the others). I just think it would look slightly neater with the common cite mag results being together, opinions?Naraht (talk) 15:15, 24 July 2016 (UTC)

Quotes in Reference name - new?

All of a sudden I am seeing these annoying quote marks in my reference names again. Can these be permanently not used again. They were blessedly missing for a very long time. They are very unnecessary in my opinion. Not sure why they are making an unwelcome comeback. -- Erika aka BrillLyle (talk) 22:30, 30 January 2016 (UTC)

Can you please link to an example to show us what is bothering you? Quotation marks around reference names are the recommended format, as you can see at WP:REFNAME. – Jonesey95 (talk) 22:38, 30 January 2016 (UTC)
The quotes all of a sudden re-appeared after being blessedly missing. The only example I could provide is a ref name in quotes. It's totally annoying. The ref names work without quotes, the quotes are obviously unnecessary, so why use them? It's just one more opportunity for a typo, adding superfluous text. -- BrillLyle (talk) 23:04, 30 January 2016 (UTC)
Quotes are mandatory for some forms of ref name, such as when it contains spaces. --Redrose64 (talk) 23:48, 30 January 2016 (UTC)
I know when quotes are mandatory. this edit is just a flipping waste of time and is annoying the heck out of me. If the ref name doesn't need quotes, they shouldn't be added. Period. Please stop this bot. -- Erika aka BrillLyle (talk) 19:02, 25 December 2016 (UTC)
Pinging the bot operator, Ladsgroup (talk · contribs). -- John of Reading (talk) 19:14, 25 December 2016 (UTC)
I'm sorry if the double quotes are annoying to you. FWIW. They are being added no matter what by mediawiki. Anyway. We had a list of characters (e.g. "-", "/", etc.) and if ref name had one of them, the bot added the double quote. I thought mediawiki is changing and stop supporting them so it would be necessary to have double quotes (because I was asked to do it). Let's wait until deploy of Linter extension and see if it's going to be a problem Ladsgroupoverleg 19:45, 25 December 2016 (UTC)
@Ladsgroup: What makes you think that "they are being added no matter what by mediawiki"? --Redrose64 (talk) 20:47, 25 December 2016 (UTC)
@BrillLyle: My vague reply at 23:48, 30 January 2016 was because you had not provided examples, so I could not tell what the ref name in question was. The most common need for quotes is the presence of a space, but there are of course several others. Now that you have provided an example, I can see that none of the eleven changes in that edit were necessary - the ref names consisted only of letters, digits and hyphens. I also always construct ref names that do not need quotes (mine are entirely letters and digits) and I have never experienced the claim of Ladsgroup that "they are being added no matter what by mediawiki". --Redrose64 (talk) 20:47, 25 December 2016 (UTC)
Go to a page with named ref such as Alan Turing. Check page source (Ctrl+U in most browsers). You'll something like <sup id="cite_ref-mathgene_1-1" class="reference"><a href="#cite_note-mathgene-1">[1]</a>. Overall attributes in html elements should have double quote all the time It's W3C standard. Ladsgroupoverleg 01:34, 26 December 2016 (UTC)
Nope. Not going to buy this argument. Double quotes are not necessary. I saw the other threads about this. Please turn off this bot. BrillLyle (talk) 01:40, 26 December 2016 (UTC)
@Ladsgroup: Please note that the <ref>...</ref> construct, whilst resembling HTML tags, is nothing to do with HTML - it is part of MediaWiki's cite.php extension and has its own syntax rules that are not the same as those of HTML. If the double quotes are removed from the <ref name="mathgene"> tag of your Alan Turing example, producing <ref name=mathgene>, there is no effect on the emitted HTML. Before deciding to fix a perceived problem, please test to ensure that a problem really exists.
Considering now your w3schools link, please note that w3schools is not official, and indeed has come under criticism in the past for giving incorrect explanations and encouraging bad practice. But at your linked page, I see nothing that says it's a W3C standard - in fact, it says the opposite: a little more than half-way down, there is the sentence "The HTML5 standard does not require quotes around attribute values."
If you want to see the actual W3C standard, it's at HTML5 A vocabulary and associated APIs for HTML and XHTML W3C Recommendation 28 October 2014 section 8.1.2.3 Attributes. Notice in particular the block headed "Unquoted attribute value syntax". --Redrose64 (talk) 10:08, 26 December 2016 (UTC)
If you think that standard is lacking something. Go ahead and change it but here is not the place to practice it. I'm not sure if you are familiar with HTML5. Mediawiki is not using HTML5 and we won't be using it anytime soon (because of compatibility reasons which translates to IE). Overall I have no opinion on whether we should have double quotes when there is hyphen or slash but we need to see if mediawiki wants it too. If it requires us, we need to it. TLDR: We don't have a choice here. Ladsgroupoverleg 22:41, 26 December 2016 (UTC)
I can't change standards, that's the point about standards, they're stable. I am certainly familiar with HTML5, and have been studying it ever since the Wikimedia Foundation decided that we should switch from XHTML 1.0 to HTML5. This was something like five years ago: the switch eventually occurred on 17 September 2012 to be exact. More at Wikipedia:Village pump (technical)/Archive 102#HTML5 is coming to Wikimedia Wikis....
Please give an example of a page where a DexBot edit fixed something that was broken prior to the edit. --Redrose64 (talk) 23:43, 26 December 2016 (UTC)