Jump to content

Template talk:Harvard citation no brackets

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia


[edit]

Please see the discussion at Module talk:Footnotes/Archive 1 § broken harv link reporting where a broken harv-link reporting scheme is proposed.

Trappist the monk (talk) 17:46, 16 March 2020 (UTC)[reply]

problem with pp=

[edit]

I ran into a problem trying to make a change in one cite in the United States Military Government of the Philippine Islands article, changing a one-page citation to cite two pages, changing p= to pp= with an externally-linked pageno or pageno range, so I did not make the change. With pp=, there seems to be a problem with the semicolon character in the linked url, but not with p=. Following is the cite copied from the article, both with and without the change:.

Wtmitchell (talk) (earlier Boracay Bill) 19:41, 17 April 2022 (UTC)[reply]

Yeah, because editors will separate multiple individual pages with semicolons instead of commas, Module:Footnotes converts semicolon-separated page-number lists to comma-separated page-number lists. Unless there is some overwhelming reason to present readers with the 200%-size page, use a better url:
{{Harvnb|Kalaw|1927|pp=[https://quod.lib.umich.edu/p/philamer/afj2233.0001.001/473 453–454]}}
Kalaw 1927, pp. 453–454
If you must use your original url, replace the semicolons with %3B (see percent-encoding):
{{Harvnb|Kalaw|1927|pp=[http://quod.lib.umich.edu/cgi/t/text/pageviewer-idx?c=philamer%3Bcc=philamer%3Bidno=afj2233.0001.001%3Bfrm=frameset%3Bview=image%3Bseq=473%3Bpage=root%3Bsize=s 453–454]}}
Kalaw 1927, pp. 453–454
Trappist the monk (talk) 21:07, 17 April 2022 (UTC)[reply]

Thanks for all of that. I took the url as I found it in the article, though I vaguely remember finding that book with a web search years ago and linking urls based on that. I probably never would have found that https://quod.lib.umich.edu/p/...etc. urls. I'll probably revisit this in the article and perhaps in other articles citing that book. Wtmitchell (talk) (earlier Boracay Bill) 21:59, 17 April 2022 (UTC)[reply]

Problem... or not?

[edit]

Currently, at the List of Arleigh Burke-class destroyers, all the entries for DDG-85 to DDG-112 have a note "c", and the entry for DDG-127 has a note "d". These two notes use the Havard citation, but they are in brackets without ref tags, (wasn't that deprecated?) Anyway, the first note has, in full size text, the author's last name and publicatiom year, while the second note, again in full size, has the publisher name and publication year, (isn't the preference to have a small superscripted alpha-numeric digit?) These notes are hyperlinked, but they do not work. At least for me, on desktop mode on my mobile, clicking the link doesn't take me to the full entry below. (But, hovering over the note/link sometimes shows me the full ref in a hover box. Is that the goal here?) I played around with it a little, trying to get these harvard notes to look and behave like other refs, but... nada. But this is why I'm sure is this is a problem or not. Perhaps someone here more savvy with this particular markup could take a look, determine if there is indeed a problem, and if so, hopefully fix it. Thanks (sorry about the length) - wolf 14:12, 14 January 2023 (UTC)[reply]

TL;DR - could someone please have a look at a pair of harvnb notes in the List of Arleigh Burke-class destroyers, designated "c", for entry DDG-85++ and "d" for entry DDG-127, to see if they are set up and working correctly. Again, thanks. - wolf 14:13, 14 January 2023 (UTC)[reply]
 Works for me --Redrose64 🌹 (talk) 14:54, 14 January 2023 (UTC)[reply]
@Redrose64: Thanks for looking, and the reply, but does that mean the full cites are only available to you when you access via the little box as you hover over them? If so, that doesn't seem right, does it? Also, these notes have brackets instead of ref tags, wasn't that set-up deprecated a few years ago? Thanks again - wolf 15:22, 14 January 2023 (UTC)[reply]
If I hover over the [c] or [d] I get the popup box; if I click the same two I go to the appropriate note at the bottom of the section. Whichever method I use, if I hover over the blue link it shows a further box giving the full ref; if I click that blue link I am taken to the full ref. This is as it should be. The {{harvnb}} template is not deprecated, but parenthetical referencing is. I suspect that harvnb has been used here because the four notes are in the form of {{efn}} wrapped in WP:LDR, and this doesn't play nicely with notes that contain refs of either the <ref>...</ref> or {{sfn}} form. If the {{efn}}s were moved to be in the tables, with a simple {{notelist}} at the bottom and no attempt to use LDR, it should then be possible to use non-parenthetical refs. See Talk:Arleigh Burke-class destroyer#Alternative notes. --Redrose64 🌹 (talk) 16:11, 14 January 2023 (UTC)[reply]
Just had a look, (thanks for doing all that, by the way), it initially looks like what I was trying to set up by swapping the parenthesis for ref tags. Except now, if you click on "d", there is a hover box with the note and a superscripted "[3]". You click on the "3" and get second hover box with the "Dept of Defense 2017" link. You click on that link and get a third hover box (with the previous two still there), and in that is the cite with a link to the ref. I'm now wondering why we even need these harvnb style cites here. I'm sure they work well in other situations, but here it just seems like it would be simpler to swap them out for regular refs. Maybe it's just me, but they don't seem particularly helpful here, (unless I'm missing something, and I'm totally willing to admit that I may be, as I not completely familiar with this particular markup). Cheers - wolf 17:04, 14 January 2023 (UTC)[reply]

"Harv error: linked from CITEREFCartan1913."

[edit]

The "Further reading" section of the article Spinor is currently (permalink) full of these error messages. What do they mean, and how can one make them go away? Thanks, Jheald (talk) 14:00, 30 April 2024 (UTC)[reply]

Sources used as reference material with this message are found in an unexpected article section. Sources listed in Spinor § Further reading are not expected to be used as article references. Move those sources out of §Further reading into a separate section: §Bibliography or §Works cited or some such and leave §Further reading to hold actual 'further reading' material.
Trappist the monk (talk) 14:20, 30 April 2024 (UTC)[reply]
@Trappist the monk: Thanks, that's done the trick. Jheald (talk) 18:08, 30 April 2024 (UTC)[reply]

 You are invited to join the discussion at Module talk:Footnotes § loc, at. Rjjiii (talk) 02:43, 4 May 2024 (UTC)[reply]

"Quotes or additional comments"

[edit]

A "Quotes or additional comments" field seems to have been recently added. I've started to use it.

It needs a space before the field output begins.

(Out of curiosity, where/how can I see the templace source code?) Tsavage (talk) 19:22, 31 December 2024 (UTC)[reply]

No such parameter has been added. Where are you seeing sommat that leads you to believe that there has been?
The template source is at {{Harvard citation no brackets}}. There isn't much there; just a invocation of Module:Footnotes.
Trappist the monk (talk) 19:40, 31 December 2024 (UTC)[reply]
I think your referring to |ps=, but using that parameter is discouraged. You will end up with error messages if you use the same reference with a quote and then without a quote. Instead you can just include the quote after the template but before the closing ref tag. As an example:
<ref>{{harvnb|Smith|2024|p=10}} "Blah, Blah Blah".</ref> -- LCU ActivelyDisinterested «@» °∆t° 20:34, 31 December 2024 (UTC)[reply]
You can also use {{sfn}} for this purpose by using the |loc= paramter, rather than mixing {{sfn}} and {{harvnb}} templates. As an example:
{{sfn|Smith|2024|loc=p. 10: "Blah, blah blah".}} -- LCU ActivelyDisinterested «@» °∆t° 20:38, 31 December 2024 (UTC)[reply]
Since probably the last 2-3 days when I last used it, when I call up harvnb in Visual Editor, "Quotes or additional comments" appears as the final parameter.
Above the text box it says "Used to add quotes or additional comments. Example: Table 7.1" Tsavage (talk) 22:16, 31 December 2024 (UTC)[reply]
Wow, sfn "loc", huh?! Quotes is a proper use? That's...hahaha fantastic. No more harvnb in ref tags with text beside. Is there a downside to this? It's kinda clear on the template help page now that I reread, but could be made much clearer! Tsavage (talk) 22:25, 31 December 2024 (UTC)[reply]
The 'template data' section is part of visual editor, it isn't meant to be part of the templates documentation. Unfortunately it is more poorly maintained than the actual template documentation. The relevant section is Adding additional comments or quotes, and Help:Shortened footnotes gives some better guidance.
There's no downside to using |loc= with {{sfn}} that I know of. -- LCU ActivelyDisinterested «@» °∆t° 22:58, 31 December 2024 (UTC)[reply]
(edit conflict)
Oh that abomination that is templatedata. The 'Quotes or additional comments' label and its incorrect definition is a (failed) attempt to define |ps=. That mess was added at this 26 July 2023 edit. Not recent.
The purpose of |ps= is to set the terminal punctuation for the short-form template rendering to something other than its default terminal punctuation (for semicolon terminator, write: |ps=; etc; to suppress terminal punctuation, write |ps=none).
The purpose of |loc= is to identify an in-source location. See the real documentation at Template:Harvard citation no brackets § Usage.
Template:Harvard citation no brackets § Additional comments or quotes has correct guidance for adding comments or quotes if you must do so. [Mixing] {{sfn}} and {{harvnb}} templates is not proscribed. Use of |loc= to hold sommat that is not an in-source locator is semantically incorrect and should be avoided. It is ok to use {{harvnb}} in an article where {{sfn}} is the predominant short-form template.
The short-form templates are supposed to be short. If a quotation is important to the article, put the quotation in the article and cite it. Quotations need citations; citations do not need quotations.
I'll fix the |ps= templatedata and then go wash my hands.
Trappist the monk (talk) 23:45, 31 December 2024 (UTC)[reply]
What Trappist said. Also: if you feel that you need to include a quote in order to support your reference, that may indicate that the reference is weak. --Redrose64 🦌 (talk) 02:13, 1 January 2025 (UTC)[reply]
Thanks. So it's back to what I was doing before: <ref>{{harvnb}} "blah-blah"</ref>. No "loc". No "Additional..." --Tsavage (talk) 04:51, 1 January 2025 (UTC)[reply]