Module talk:Citation/CS1/Archive 1

Archive 1Archive 2Archive 3Archive 5

Minor bug in position of period

Note the position of the "." after "(PDF)" in {{cite web}} but before it in {{cite web/lua}}:

  • "The History of New York's Chinatown" (PDF). Mediabridge Infosystems, Inc. 2013. Retrieved 2011-03-05.
  • {{cite web/lua|url=http://www.ny.com/articles/chinatown.html|title=The History of New York's Chinatown|format=PDF|publisher=Mediabridge Infosystems, Inc.|accessdate=2011-03-05|year=2013}}

(Also note that the publisher is being duplicated as of this diff I think) —[AlanM1(talk)]— 19:19, 19 February 2013 (UTC)

  • Fixed dot & duplicate publisher: Thank you for testing the {cite_web/lua} format, which uses a completely different method of joining parameters, compared to {cite_web}. -Wikid77 (talk) 21:01, 19 February 2013 (UTC)

Discrepancy in position of page number

Page parameter has moved:

  • "Xinhua-Dow Jones International Financial Centers Development Index (2011)" (PDF). CFC Holding Company, Ltd., Index Center and CME Group Index services LLC (Dow Jones Indexes). July 8, 2011. p. 11. Retrieved 2013-02-04.
  • {{cite web/lua|url=http://index.xinhua08.com/dqszs/bgxz/201107/P020110708322385591732.pdf|title=Xinhua-Dow Jones International Financial Centers Development Index (2011) |page=11 |publisher=CFC Holding Company, Ltd., Index Center and CME Group Index services LLC (Dow Jones Indexes)|date=July 8, 2011|accessdate=2013-02-04}}

—[AlanM1(talk)]— 19:29, 19 February 2013 (UTC)

Missing period after work parameter

This demonstrates a missing period after the work parameter:

  • "Statue of Liberty". World Heritage. © UNESCO World Heritage Centre 1992–2011. Retrieved 2011-10-23.
  • {{cite web/lua| title = Statue of Liberty| work=World Heritage| publisher=© UNESCO World Heritage Centre 1992–2011| url = http://whc.unesco.org/en/list/307| accessdate =2011-10-23}}

(publisher is wrapped in parens and dup'd, too, but this may be a temporary thing) —[AlanM1(talk)]— 19:37, 19 February 2013 (UTC)

  • Parentheses are for journal format: The {cite_web/lua} adds parentheses around "(publisher)" when it thinks the cite is for a journal (as variable "Periodical"), so that has caused the confusion. -Wikid77 (talk) 21:01, 19 February 2013 (UTC)

Extra . before publisher

  • {{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |publisher=Example publisher |accessdate=6 July 2005 }}
"My Favorite Things, Part II". Example publisher. Retrieved 6 July 2005.
{{cite web/lua |url=http://www.example.org/ |title=My Favorite Things, Part II |publisher=Example publisher |accessdate=6 July 2005 }}

-- WOSlinker (talk) 22:34, 19 February 2013 (UTC)


  • {{Cite web |url=http://www.wunderground.com/global/stations/03772.html |title=London, United Kingdom Forecast : Weather Underground (weather and elevation at Heathrow Airport) |publisher=The Weather Underground, Inc. |ref=harv | archiveurl=http://www.webcitation.org/5yo0HaAk7 |archivedate=19 May 2011| deadurl=no }}
"London, United Kingdom Forecast : Weather Underground (weather and elevation at Heathrow Airport)". The Weather Underground, Inc. Archived from the original on 19 May 2011. {{cite web}}: Invalid |ref=harv (help); Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
{{Cite web/lua |url=http://www.wunderground.com/global/stations/03772.html |title=London, United Kingdom Forecast : Weather Underground (weather and elevation at Heathrow Airport) |publisher=The Weather Underground, Inc. |ref=harv | archiveurl=http://www.webcitation.org/5yo0HaAk7 |archivedate=19 May 2011| deadurl=no }}

-- WOSlinker (talk) 22:34, 19 February 2013 (UTC)

reference-accessdate class

The access date should be wrapped in <span class="reference-accessdate">...</span> allowing readers to hide the access date as desired.


Markup Renders as
{{cite web|title=Ministry of Home Affairs (Department of Border Management)|url=http://mha.nic.in/docs/BM_Intro(E).doc|format=DOC|accessdate=1 September 2008}}

"Ministry of Home Affairs (Department of Border Management)" (DOC). Retrieved 1 September 2008.

'"`UNIQ--templatestyles-00000013-QINU`"'<cite class="citation web cs1">[http://mha.nic.in/docs/BM_Intro(E).doc "Ministry of Home Affairs (Department of Border Management)"] <span class="cs1-format">(DOC)</span><span class="reference-accessdate">. Retrieved <span class="nowrap">1 September</span> 2008</span>.</cite><span title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=unknown&rft.btitle=Ministry+of+Home+Affairs+%28Department+of+Border+Management%29&rft_id=http%3A%2F%2Fmha.nic.in%2Fdocs%2FBM_Intro%28E%29.doc&rfr_id=info%3Asid%2Fen.wikipedia.org%3AModule+talk%3ACitation%2FCS1%2FArchive+1" class="Z3988"></span>

{{cite web/lua|title=Ministry of Home Affairs (Department of Border Management)|url=http://mha.nic.in/docs/BM_Intro(E).doc|format=DOC|accessdate=1 September 2008}}

{{cite web/lua|title=Ministry of Home Affairs (Department of Border Management)|url=http://mha.nic.in/docs/BM_Intro(E).doc|format=DOC|accessdate=1 September 2008}}

{{cite web/lua|title=Ministry of Home Affairs (Department of Border Management)|url=http://mha.nic.in/docs/BM_Intro(E).doc|format=DOC|accessdate=1 September 2008}}

--— Gadget850 (Ed) talk 20:26, 20 February 2013 (UTC)

OCLC

The OCLC identifier link needs be updated from Online Computer Library Center to OCLC to reflect their name change. --— Gadget850 (Ed) talk 21:21, 20 February 2013 (UTC)

COinS formatting

It appears that the COinS data being presently generated is invalid due to overencoding.

{{cite encyclopedia/lua |last=Doe |first=J.B. |authorlink=John Doe|editor-first=Edie |editor-last=Tor |editor-link=Editor |encyclopedia=AEIOU Encyclopaedia |title=Mein Artikel |trans_title=My Article |url=http://austria-forum.org/af/AEIOU |accessdate=7 March 2013 |language=German |edition=2012 |date=1 December 2012 |year= |month= |publisher=BMBWK, Austria |volume=IV |location=Vienna |id= |isbn=1234567890 |oclc=Oclc 45 |doi=10.DOI_number |pages=77 |quote=This is a direct quote |ref=harv}}
{{cite encyclopedia/lua |last=Doe |first=J.B. |authorlink=John Doe|editor-first=Edie |editor-last=Tor |editor-link=Editor |encyclopedia=AEIOU Encyclopaedia |title=Mein Artikel |trans_title=My Article |url=http://austria-forum.org/af/AEIOU |accessdate=7 March 2013 |language=German |edition=2012 |date=1 December 2012 |year= |month= |publisher=BMBWK, Austria |volume=IV |location=Vienna |id= |isbn=1234567890 |oclc=Oclc 45 |doi=10.DOI_number |pages=77 |quote=This is a direct quote |ref=harv}}

The hidden COinS data in the final span renders to HTML as (with some breaks add for line spacing):

<span class="Z3988" title="ctx_ver=Z39.88-2004&rft_id=info%3Adoi%2F%31%30.DOI_number&rft_id=info%3Aoclcnum%2FOclc+%34%35&rft.aulast=Doe&rft.isbn= %31%32%33%34%35%36%37%38%39%30&rft.place=Vienna&rft.volume=IV&rft_id=http%3A%2F%2Faustria-forum.org%2Faf%2FAEIOU&rft.atitle=&rft.genre=bookitem&rft.edition= %32%30%31%32&rft.au=Doe%2C+J.B.&rft.aufirst= J.B.&rft.pub=BMBWK%2C+Austria&rft.date=%31+December+%32%30%31%32&rft.pages= %37%37&rft.jtitle=AEIOU+Encyclopaedia&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.btitle=Mein+Artikel&rfr_id= info:sid/en.wikipedia.org:Special:ExpandTemplates" style="display: none;"> </span>

This is a change from the format generated by the {{COinS}} template, which looks like:

<span class="Z3988" title="ctx_ver=Z39.88-2004&rft_id=info%3Adoi%2F%31%30.DOI_number&rft_id=info%3Aoclcnum%2FOclc+%34%35&rft.aulast=Doe&rft.isbn= %31%32%33%34%35%36%37%38%39%30&rft.place=Vienna&rft.volume=IV&rft_id=http%3A%2F%2Faustria-forum.org%2Faf%2FAEIOU&rft.atitle=&rft.genre=bookitem&rft.edition= %32%30%31%32&rft.au=Doe%2C+J.B.&rft.aufirst= J.B.&rft.pub=BMBWK%2C+Austria&rft.date=%31+December+%32%30%31%32&rft.pages= %37%37&rft.jtitle=AEIOU+Encyclopaedia&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.btitle=Mein+Artikel&rfr_id= info:sid/en.wikipedia.org:Special:ExpandTemplates"><span style="display: none;"> </span></span>

 

Even I'm inclined to believe this looks like a trivial change, but it is enough to break the Chrome based COinS to OpenURL interpreter that I used as a testing agent. It doesn't work correctly if the COinS span is styled as "display: none". I don't know if other COinS clients are more tolerant, but it seems like using the same styling as the {{COinS}} template probably makes sense. Dragons flight (talk) 23:21, 11 March 2013 (UTC)

I went ahead and changed this to use the same kind of extra empty span as the {{COinS}} template. Dragons flight (talk) 00:05, 12 March 2013 (UTC)
The empty span is required to keep HTML Tidy from stripping out the COinS data.[1] --— Gadget850 (Ed) talk 00:58, 12 March 2013 (UTC)

Location in cite web

Cite web comparison
Wikitext {{cite web|accessdate=12 February 2011|date=9 December 2010|first=Andrea|last=Magrath|location=UK|title=Better get to the wig store! Emma Watson and Harry Potter co-stars to re-shoot crucial final Deathly Hallows scenes|url=http://www.dailymail.co.uk/tvshowbiz/article-1336829/Emma-Watson-Daniel-Radcliffe-shoot-Harry-Potter-Deathly-Hallows-final-scenes.html|work=Daily Mail}}
Live Magrath, Andrea (9 December 2010). "Better get to the wig store! Emma Watson and Harry Potter co-stars to re-shoot crucial final Deathly Hallows scenes". Daily Mail. UK. Retrieved 12 February 2011.
Sandbox Magrath, Andrea (9 December 2010). "Better get to the wig store! Emma Watson and Harry Potter co-stars to re-shoot crucial final Deathly Hallows scenes". Daily Mail. UK. Retrieved 12 February 2011.
Location tag ignore in Lua

It appears that the Lua version of cite web ignore the location field. Incidentally, if the user chose cite_news (a more logical choice) rather than cite_web, the location field would have been handled correctly, but we can't really count on users being logical. Example taken from a reference actually in use. Dragons flight (talk) 15:35, 12 March 2013 (UTC)

Possible improvement: remove extra quotes from the quote field

Cite web comparison
Wikitext {{cite web|accessdate=22 June 2012|publisher=Columbia Electronic Encyclopedia|quote="During the 1920s and early 30s pacifism enjoyed an upsurge"|title=Pacifism in the Twentieth Century|url=http://www.infoplease.com/ce6/society/A0860192.html|work="pacifism"}}
Live "Pacifism in the Twentieth Century". "pacifism". Columbia Electronic Encyclopedia. Retrieved 22 June 2012. During the 1920s and early 30s pacifism enjoyed an upsurge
Sandbox "Pacifism in the Twentieth Century". "pacifism". Columbia Electronic Encyclopedia. Retrieved 22 June 2012. During the 1920s and early 30s pacifism enjoyed an upsurge
It might be nice to detect and remove the extra set of quotation marks

Sometimes users wrap the quote= field in an unnecessary set of quotation marks. It might be nice to automatically detect and correct for this situation. Dragons flight (talk) 16:03, 12 March 2013 (UTC)

I went ahead and implemented this improvement. Dragons flight (talk) 03:47, 13 March 2013 (UTC)
I agree that seems an intuitive option, and I cannot imagine any significant confusion, compared to new users typically setting quote="xx yy" as a logical format. -Wikid77 10:13, 13 March 2013 (UTC)

Lost location tag in cite encyclopedia / editor label

Cite encyclopedia comparison
Wikitext {{cite encyclopedia|editor=James Hastings|encyclopedia=Encyclopaedia of Religion and Ethics|first=A. A.|last=Bevan|location=London|title=Manichaeism|volume=8|year=1930}}
Live Bevan, A. A. (1930). "Manichaeism". In James Hastings (ed.). Encyclopaedia of Religion and Ethics. Vol. 8. London.{{cite encyclopedia}}: CS1 maint: location missing publisher (link)
Sandbox Bevan, A. A. (1930). "Manichaeism". In James Hastings (ed.). Encyclopaedia of Religion and Ethics. Vol. 8. London.{{cite encyclopedia}}: CS1 maint: location missing publisher (link)
Lost location tag in Lua, both version do a poor job with "editor"

The Lua version drops the location information. In addition, both the old and the new citation give a somewhat strange treatment to the "editor" label. I assume the goal is to say that it is in the encyclopedia that James Hastings edited, but the placement of the label "In" before his name looks weird. Dragons flight (talk) 17:49, 12 March 2013 (UTC)

The "In" is deliberate and mostly in line with APA; see Purdue OWL under "Article or Chapter in an Edited Book". --— Gadget850 (Ed) talk 12:33, 13 March 2013 (UTC)

Blank parameters creates extra periods

Cite book comparison
Wikitext {{cite book|author=Magnus A.|authorlink=Albertus Magnus|chapter=Book II, Chapter 6; p 87 and Book VI, Chapter 7; p 345|title=De vegetabilibus|year=1256}}
Live Magnus A. (1256). "Book II, Chapter 6; p 87 and Book VI, Chapter 7; p 345". De vegetabilibus.
Sandbox Magnus A. (1256). "Book II, Chapter 6; p 87 and Book VI, Chapter 7; p 345". De vegetabilibus.
Extra period in Lua

Here the location and publisher fields are included but blank. This results in an extra period in Lua. Dragons flight (talk) 12:34, 13 March 2013 (UTC)

Fixed. Dragons flight (talk) 01:58, 14 March 2013 (UTC)

Format and language transposed

  • {{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}
"List of psychotropic substances under international control" (PDF) (in Greek). 30 April 2005. Retrieved 6 July 2005.
{{cite web/lua |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=6 July 2005 |language=Greek }}

-- WOSlinker (talk) 22:34, 19 February 2013 (UTC)

No warning if archiveurl specified and archivedate is not

  • {{Cite web |url=http://www.wunderground.com/global/stations/03772.html |title=London, United Kingdom Forecast : Weather Underground (weather and elevation at Heathrow Airport) |publisher=The Weather Underground, Inc. |ref=harv | archiveurl=http://www.webcitation.org/5yo0HaAk7 |deadurl=no }}
"London, United Kingdom Forecast : Weather Underground (weather and elevation at Heathrow Airport)". The Weather Underground, Inc. {{cite web}}: |archive-url= requires |archive-date= (help); Invalid |ref=harv (help); Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
{{Cite web/lua |url=http://www.wunderground.com/global/stations/03772.html |title=London, United Kingdom Forecast : Weather Underground (weather and elevation at Heathrow Airport) |publisher=The Weather Underground, Inc. |ref=harv | archiveurl=http://www.webcitation.org/5yo0HaAk7 | deadurl=no }}

-- WOSlinker (talk) 22:34, 19 February 2013 (UTC)

No printonly URL

First difference I've spotted is {{Cite web}} has a <span class="printonly"> tag for urls but this is not included in {{Cite web/lua}}. (Copied from Template talk:Citation/core)

Compare

  • {{cite web|title=Ministry of Home Affairs (Department of Border Management)|url=http://mha.nic.in/docs/BM_Intro(E).doc|format=DOC|accessdate=1 September 2008}}
  • Result: "Ministry of Home Affairs (Department of Border Management)" (DOC). Retrieved 1 September 2008.
  • {{cite web/lua|title=Ministry of Home Affairs (Department of Border Management)|url=http://mha.nic.in/docs/BM_Intro(E).doc|format=DOC|accessdate=1 September 2008}}
  • Result: {{cite web/lua|title=Ministry of Home Affairs (Department of Border Management)|url=http://mha.nic.in/docs/BM_Intro(E).doc|format=DOC|accessdate=1 September 2008}}

no normal visible difference but the html sources are considerable different

<span class="citation web"><a rel="nofollow" class="external text" href="http://mha.nic.in/docs/BM_Intro(E).doc">"Ministry of Home Affairs (Department of Border Management)"</a> (DOC)<span class="printonly">. <a rel="nofollow" class="external free" href="http://mha.nic.in/docs/BM_Intro(E).doc">http://mha.nic.in/docs/BM_Intro(E).doc</a></span><span class="reference-accessdate">. Retrieved 1 September 2008</span>.</span>.

<span class="citation web"><a rel="nofollow" class="external text" href="http://mha.nic.in/docs/BM_Intro(E).doc">"Ministry of Home Affairs (Department of Border Management)"</a> (DOC). Retrieved 1 September 2008.</span><span class="Z3988" title="ctx_ver=Z39.88-2004&rft_id=http%3A%2F%2Fmha.nic.in%2Fdocs%2FBM_Intro%28E%29.doc&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3A&rft.genre=book&rft.btitle=Ministry+of+Home+Affairs+%28Department+of+Border+Management%29&rfr_id=info:sid/en.wikipedia.org:User:Salix alba/sandbox" style="display: none;"> </span>. The latter has the CoiNS but no printonly.--Salix (talk): 20:07, 20 February 2013 (UTC)

Is that really needed? When I try a print preview in both Firefox & IE, the current cite web version shows the URL twice. With the lua version, it only shows the URL once. Does it need to be shown twice for the printed version? -- WOSlinker (talk) 20:19, 20 February 2013 (UTC)
It seems that it might not be, there is a css rule for the a.external.text class which inserts the url and the printonly span duplicates this behaviour commonPrint.css.
@media print
    #content a.external.text:after,
    #content a.external.autonumber:after {
        /* Expand URLs for printing */
	        content: " (" attr(href) ") ";
    }

Looks like this is a bug in {{Citation/core}}. However it does require the user agent can work with the :after css tag. --Salix (talk): 22:33, 20 February 2013 (UTC)


Empty url parameter

  • {{cite journal/lua |author=Szilard L |authorlink= |title=On the nature of the aging process |journal=Proc. Natl. Acad. Sci. U.S.A. |volume=45 |issue=1 |pages=30–45 |year=1959 |month=January |pmid=16590351 |pmc=222509 |doi= 10.1073/pnas.45.1.30|url=}}
  • Szilard L (1959). "On the nature of the aging process". Proc. Natl. Acad. Sci. U.S.A. 45 (1): 30–45. doi:10.1073/pnas.45.1.30. PMC 222509. PMID 16590351. {{cite journal}}: Unknown parameter |month= ignored (help)
  • {{cite journal/lua |author=Szilard L |authorlink= |title=On the nature of the aging process |journal=Proc. Natl. Acad. Sci. U.S.A. |volume=45 |issue=1 |pages=30–45 |year=1959 |month=January |pmid=16590351 |pmc=222509 |doi= 10.1073/pnas.45.1.30|url=}}

that is leaves a trailing [ ]. The authorlink suggests that link and url parameters that are empty are still being actioned, rather than ignored. RDBrown (talk) 21:51, 20 February 2013 (UTC)

  • Fix in progress. I think I found the Lua code to fix, for person.link ~= "" to bypass any empty authorlink or editorlink. We also need to ignore any empty "author=" to use "last=xx" instead. -Wikid77 22:46, 20 February 2013 (UTC)
While the fix looks better, linking the title to the URL generated for the PMC is failing now.
I've added the prior cite journal for comparison. Please also remove the superfluous ?tool=pmcentrez from the link URL RDBrown (talk) 05:00, 21 February 2013 (UTC)
Yes- I removed that from {{citation/identifier}} a few months ago. --— Gadget850 (Ed) talk 11:30, 22 February 2013 (UTC)

et al.

CS1 templates do not italicize et al., as it is a commonly used term. There is an extra period after et al.

last1; Last2; et al. "title". {{cite journal}}: Cite journal requires |journal= (help)CS1 maint: numeric names: authors list (link)

{{cite journal/lua |last1=last1 |last2=Last2 |last3=last3 |last4=last4 |display-authors=2 |title=title}} --— Gadget850 (Ed) talk 01:11, 21 February 2013 (UTC)

Identifiers

  • asin-tld not working:

"title". ASIN 1234567890. {{cite journal}}: Check |asin= value (help); Cite journal requires |journal= (help)

{{cite journal/lua |title=title |asin=1234567890 |asin-tld=ca}}

  • ssrn not working:

"title". SSRN 512922. {{cite journal}}: Cite journal requires |journal= (help)

{{cite journal/lua |title=title |ssrn=512922}}


--— Gadget850 (Ed) talk 14:02, 21 February 2013 (UTC)

  • Fixed to match SSRN and lowercase "asin-tld". There had been a typo where SSRN would not display without id "RFC".
  • cite_journal        +asin-tld: "title". ASIN 1234567890. {{cite journal}}: Check |asin= value (help); Cite journal requires |journal= (help)
  • cite_journal/lua +asin-tld: {{cite journal/lua |title=title |asin=1234567890 |asin-tld=ca}}
With option "asin-tld=ca" then the ASIN URL uses "amazon.ca" instead of "amazon.com". Lua version now allows lowercase "asin-tld" or uppercase "ASIN-TLD". -Wikid77 15:12, 21 February 2013 (UTC)

There is no check on asin-tld for valid values:

  • {{cite journal/lua |title=title |asin=1234567890 |asin-tld=123456}}

Valid: co.jp, co.uk, ca, cn, fr, de, it or es --— Gadget850 (Ed) talk 18:22, 21 February 2013 (UTC)

See thread below: #Future changes impact 1.7 million articles.

Future changes impact 1.7 million articles

We need to fix most problems in the next few weeks. The current Module:Citation/CS1 puts all 1.7 million "eggs in one basket" to require reformatting of all Lua-cite articles in the future, as if any future change were like a change to Template:Citation/core. Note how this is unlike the 23-way cite-template forks' "division of labor" of the current 23 cite templates (such as {cite_encyclopedia} or {cite_video} ). Hence, we should avoid creating self-imposed limits which require future changes to the central Lua module. In particular, any Lua-based restriction in a parameter to report new values as "errors" could require changing the shared Lua module and reformatting all 1.7 million articles, to allow a parameter to use a new "valid" value. A potential hybrid approach would be to validate some parameters in the shell templates before they each #invoke the Lua module, or otherwise to pass a template-internal parameter of "allowable values" which the Lua module would scan against the related cite parameter. This could be run very fast in Lua, as essentially, a scan for nation code in a string "ca de co.jp es fi fr co.uk it sv us" where the logic would report any other code as failing to match the rapid scan of valid codes. The string of nation codes would be contained (and changed) in the shell template, as a validation parameter passed into Module:Citation/CS1 which would not be changed, and not force reformatting of all 1.7 million Lua-cite articles, but perhaps limited to only {cite_journal} or just a few template shells where the validation is considered vital to avoiding user pilot error. -Wikid77 (talk) 20:41, 21 February 2013 (UTC)

Transition Phase-2: testing in major articles

I encourage others to edit-preview some major articles and report results below, for perhaps 50 articles of different subjects. -Wikid77 19:31, 22 February 2013 (UTC)

Tests in various articles: The following have been tested:

  1. India - used {citation/lua} and had to fix ref=xx to override the implicit "ref=harv" which {citation} triggers. All {citation/lua} showed correct span-tags: <span id="CITEREF..." class="citation"> and Harvard referencing cross-linked when author/year clicked. Edit-preview dropped from 28 to 17 seconds. -Wikid77 19:31, 22 February 2013 (UTC)
  2. United States - has many short cites, with 210 {cite_web}, 29 {cite_news} and 37 {cite_book}, so created {cite_book/lua}. Edit-preview dropped from 22 to 11 seconds. -Wikid77 19:31/22:03, 22 February 2013 (UTC)
  3. Pneumonia - test of edit-preview has just begun. -Wikid77 19:31, 22 February 2013 (UTC)
  4. Costa Concordia disaster - as trendy topic from January 2012, uses 199 {cite_news}, 41 {cite_web}. Edit-preview dropped from 21 to 9 seconds. -Wikid77 22:03, 22 February 2013 (UTC)
  5. New York City – Diff between {{Cite type/lua|...}} and {{cite quick|type|...}} where type (# of occurrences) in {web (233)|news (61)|book (35)|journal (7)}:
Diff
< Lua
> quick

43c43
<     ^ "Statue of Liberty". World Heritage. © UNESCO World Heritage Centre 1992–2011. Retrieved 2011-10-23.
---
>     ^ "Statue of Liberty". World Heritage (© UNESCO World Heritage Centre 1992–2011). Retrieved 2011-10-23.
85c85
<     ^ Miller, Christopher L., George R. Hamell; Hamell, George R (September 1986). "A New Perspective on Indian-White Contact: Cultural Symbols and Colonial Trade". The Journal of American History (Organization of American Historians) 73 (2): 311: 311–328. doi:10.2307/1908224. JSTOR 1908224.
---
>     ^ Miller, Christopher L., George R. Hamell; Hamell, George R (September 1986). "A New Perspective on Indian-White Contact: Cultural Symbols and Colonial Trade". The Journal of American History (Organization of American Historians) 73 (2): 311–328. doi:10.2307/1908224.
111c111
<     ^ "Missing Doctor Added to List of 9/11 Victims". © 2002-2013 TWO SL LLC, New York, NY. All rights reserved. Associated Press. July 2008. Retrieved 2013-02-21.
---
>     ^ "Missing Doctor Added to List of 9/11 Victims". Associated Press. © 2002-2013 TWO SL LLC, New York, NY. All rights reserved. July 2008. Retrieved 2013-02-21.
139c139
<     ^ Greene and Harrington (1932). American Population Before the Federal Census of 1790., as cited in: Rosenwaike, Ira (1972). Population History of New York City. Syracuse, N.Y.: Syracuse University Press. p. 8. ISBN 0-8156-2155-8.
---
>     ^ Greene and Harrington (1932). American Population Before the Federal Census of 1790. New York., as cited in: Rosenwaike, Ira (1972). Population History of New York City. Syracuse, N.Y.: Syracuse University Press. p. 8. ISBN 0-8156-2155-8.
168c168
<     ^ Kirk Semple (June 23, 2011). "Asian New Yorkers Seek Power to Match Numbers". The New York Times. Retrieved 2011-07-05. "Asians, a group more commonly associated with the West Coast, are surging in New York, where they have long been eclipsed in the city's kaleidoscopic racial and ethnic mix. For the first time, according to census figures released in the spring, their numbers have topped one million—nearly 1 in 8 New Yorkers—which is more than the Asian population in the cities of San Francisco and Los Angeles combined.".
---
>     ^ Kirk Semple (June 23, 2011). "Asian New Yorkers Seek Power to Match Numbers". The New York Times. Retrieved 2011-07-05. "Asians, a group more commonly associated with the West Coast, are surging in New York, where they have long been eclipsed in the city's kaleidoscopic racial and ethnic mix. For the first time, according to census figures released in the spring, their numbers have topped one million—nearly 1 in 8 New Yorkers—which is more than the Asian population in the cities of San Francisco and Los Angeles combined."
254c254
<     ^ Newman, Michael (2005). "New York Talk". in Wolfram, Walt; Ward, Ben.American Voices. Blackwell. pp. 82–87. ISBN 1-4051-2109-2.
---
>     ^ Newman, Michael (2005). "New York Talk". American Voices. Blackwell. pp. 82–87. ISBN 1-4051-2109-2.
272c272
<     ^ "Owners warm up to New York/New Jersey as Super Bowl XLVIII host". NFL.com. Associated Press. May 26, 2010. Retrieved 2010-05-27. "It's the first time the league has gone to a cold-weather site that doesn't have a dome ... the NFL will wait and see how this foray into the great outdoors in winter goes. Then the league might OK another bid".
---
>     ^ "Owners warm up to New York/New Jersey as Super Bowl XLVIII host". NFL.com (Associated Press). May 26, 2010. Retrieved 2010-05-27. "It's the first time the league has gone to a cold-weather site that doesn't have a dome ... the NFL will wait and see how this foray into the great outdoors in winter goes. Then the league might OK another bid"
283c283
<     ^ Sassen, Saskia (2001). The Global City: New York, London, Tokyo (2nd edition). Princeton University Press. ISBN 0-691-07063-6.
---
>     ^ Sassen, Saskia (2001). The Global City: New York, London, Tokyo. Princeton University Press (2nd ed.). ISBN 0-691-07063-6.
304c304
<     ^ Orr, James and Giorgio Topa (Volume 12, Number 1, January 2006). "Challenges Facing the New York Metropolitan Area Economy" (PDF). Current Issues in Economics and Finance – Second District Highlights. New York Federal Reserve. Retrieved 2008-09-01.
---
>     ^ Orr, James and Giorgio Topa (Volume 12, Number 1, January 2006). "Challenges Facing the New York Metropolitan Area Economy" (PDF). Current Issues in Economics and Finance – Second District Highlights (New York Federal Reserve). Retrieved 2008-09-01.
328c328
<     ^ Rachel Weinberger, John Kaehny, Matthew Rufo (2010). "U.S. Parking Policies: An Overview of Management Strategies". Institute for Transportation and Development Policy. p. 62. Retrieved 2011-06-11. "New York City is the largest, densest and most transit- and pedestrian-oriented city in the United States. It is the only U.S. city in which a majority of households do not have a car. Despite this, New York City is very much an American city in the way it under prices and under uses curbside parking meters. Meter rates are far lower than in other leading world cities, and New York suffers from high levels of cruising and double parking (p 62) ... Nationally 90% of households own automobiles. New Yorkers own fewer at 48% with only 22% of Manhattan residents owning automobiles (page 78)".
---
>     ^ Rachel Weinberger, John Kaehny, Matthew Rufo (2010). "U.S. Parking Policies: An Overview of Management Strategies". Institute for Transportation and Development Policy. p. 62. Retrieved 2011-06-11. "New York City is the largest, densest and most transit- and pedestrian-oriented city in the United States. It is the only U.S. city in which a majority of households do not have a car. Despite this, New York City is very much an American city in the way it under prices and under uses curbside parking meters. Meter rates are far lower than in other leading world cities, and New York suffers from high levels of cruising and double parking (p 62) ... Nationally 90% of households own automobiles. New Yorkers own fewer at 48% with only 22% of Manhattan residents owning automobiles (page 78)"
337c337
<     ^ Johnson, Bruce D., Andrew Golub, Eloise Dunlap (2006). "The Rise and Decline of Hard Drugs, Drug Markets, and Violence in Inner-City New York". in Blumstein, Alfred, Joel Wallman.The Crime Drop in America. Cambridge University Press. ISBN 0-521-86279-5.; Karmen, Andrew (2000). New York Murder Mystery: The True Story Behind the Crime Crash of the 1990s. NYU Press. ISBN 0-8147-4717-5.
---
>     ^ Johnson, Bruce D., Andrew Golub, Eloise Dunlap, ed. (2006). "The Rise and Decline of Hard Drugs, Drug Markets, and Violence in Inner-City New York". The Crime Drop in America. Cambridge University Press. ISBN 0-521-86279-5.; Karmen, Andrew (2000). New York Murder Mystery: The True Story Behind the Crime Crash of the 1990s. NYU Press. ISBN 0-8147-4717-5.
345c345
<     ^ New York in Focus: A Profile from Census 2000 (PDF). Brookings Institution. November 2003. Retrieved 2008-09-01.
---
>     ^ "New York in Focus: A Profile from Census 2000" (PDF). Brookings Institution. November 2003. Retrieved 2008-09-01.
367c367
<     ^ "Holland Tunnel". National Historic Landmark Quicklinks. National Park Service. Retrieved 2012-03-22.
---
>     ^ "Holland Tunnel". National Historic Landmark Quicklinks (National Park Service). Retrieved 2012-03-22.

Times were similar between the two. —[AlanM1(talk)]— 22:20, 22 February 2013 (UTC)

  1. Riemann hypothesis. Preview sped up from 15s with {{citation}} to 7s with {{citation/lua}}. I did not check all the harv-template links, but spot-checking found no problems with them. There were various minor formatting changes, some of them bugs:
Fixed space after editor: I have added the missing space after the author's editor name, and switched "in" to "In" when not {citation} format. I need more time to fix the "et al" format. -Wikid77 (talk) 02:14, 23 February 2013 (UTC)
Extended content
  • In the Borwein et al. reference, {{citation}} uses a semicolon before "et al.", {{citation/lua}} doesn't.
  • In the Cartier and Ingham references, {{citation}} doesn't use a comma between the series and volume (I consider this to be an improvement).
  • In the Ivić 2008 reference, lua again doesn't put a semicolon before the "et al.", but it also doesn't put a period after it, and it doesn't include a space between the following comma and the book title (this appears to be a bug).
  • The same missing space is also a problem in the Montgomery 1983 reference.
  • In the Sarnak 2008 reference, besides the missing space, the "(PDF)" format has moved from the authors to the book title (an improvement, but the chapter title would be even better).
  • The same format=PDF move happens in the Stein and Mazur reference, where it is now in the correct place.
  • In the Titchmarsh 1935 and 1936 refs, and Zagier 1981, the publisher has moved from the journal name to the issue number; I think the old location was better.
David Eppstein (talk) 22:27, 22 February 2013 (UTC)

Add other tests into the list above. Thanks. -Wikid77 19:31, 22 February 2013 (UTC)

There has been a discussion about changing/removing the ISBN link. See Talk:International_Standard_Book_Number#Change_the_ISBN_link. -- Alan Liefting (talk - contribs) 00:05, 23 February 2013 (UTC)

Apologies for whack-a-mole updates

This past week, I have recently made over 120 changes to the format of the Lua-based citations. If people are perplexed by all the tiny format differences, at this late date, then let me apologize for the all the myriad changes to the Lua module, as if playing "Whac-A-Mole" to swat the latest crisis of the hour. Just today, I had to update the Lua module to add "given=xx" as an alternate first name for "given1". As we discussed, months ago, all the aliases among the ~430 parameter names in the Lua module (such as "author-link" or "authorlink" or "author1-link") have created a nightmare of format details, where simulating the same format in Lua, to match the prior markup-based templates, requires the eventual tracking and testing of thousands of parameter settings. Meanwhile, we can focus on getting the major 90 parameters in place, now, to begin using the rapid Lua-based cite templates, and fix other formatting issues during future weeks. Just hang in there, and keep testing, even though it might seem to be a bottom-less pit of problems, the results are getting better every day. -Wikid77 (talk) 08:09, 23 February 2013 (UTC)

  • Returned to fixes after some days of analysis: I have verified the handling of a few hundred more cite parameters, mostly for author, last, first, authorlink<n> and author<n>-link, using more test cases. See:
I have also moved the "type=" data to follow the "format=" data. I will check the placement of "coauthor=" with author names. It had taken me some extra days to face the reality of how hundreds of changes were needed, simply because having hundreds of options is very tedious to match. -Wikid77 (talk) 17:30, 26 February 2013 (UTC)

et al. and spaces

{{cite web/lua|title=Test author+given |author=Author | given=Given | author2=Auth2 | given2=Given2 | author3=Auth3 | given3=Given3 | author4=Auth4 | given4=Given4 | author5=Auth5 | given5=Given5 | author6=Auth6 | given6=Given6 | author7=Auth7 | given7=Given7 | author8=Auth8 | given8=Given8 | author9=Auth9 | given9=Given9 | date=23 February 2013}}

{{cite web/lua|title=Test author+given |author=Author | given=Given | author2=Auth2 | given2=Given2 | author3=Auth3 | given3=Given3 | author4=Auth4 | given4=Given4 | author5=Auth5 | given5=Given5 | author6=Auth6 | given6=Given6 | author7=Auth7 | given7=Given7 | author8=Auth8 | given8=Given8 | author9=Auth9 | given9=Given9 | date=23 February 2013}}

<span class="citation web">Author, Given;  Auth2, Given2;  Auth3, Given3;  Auth4, Given4;
  Auth5, Given5;  Auth6, Given6;  Auth7, Given7;  Auth8, Given8;  et al. (23 February 2013). 
  "Test author+given".</span>

This seems to be adding an extra space, visible in the HTML, after the semicolons. Also, the current cite web template doesn't have a semicolon before the "et al". Is that an intentional change, because it looks strange to me. Dragons flight (talk) 18:49, 11 March 2013 (UTC)

Extra spaces are ignored when rendering html, so this is not a problem. (I don't have a strong opinion on the semicolon change.) —David Eppstein (talk) 19:01, 11 March 2013 (UTC)
The extra spaces aren't important to the reader, that's true, but it's also an apparently superfluous change. In general, it's good to avoid unnecessary changes as it is often hard to predict what bots or external tools might be surprised by silly little changes in the HTML. Ideally, the HTML should be identical, except for the things we are intentionally changing. Dragons flight (talk) 20:00, 11 March 2013 (UTC)
Lua cite web

{{cite web/lua|url=http://www.bbc.co.uk/news/world-middle-east-21666917 |title=Syria crisis: Warplanes 'bomb Raqqa after rebel gains' |publisher=BBC News |date=5 March 2013}}

{{cite web/lua|url=http://www.bbc.co.uk/news/world-middle-east-21666917 |title=Syria crisis: Warplanes 'bomb Raqqa after rebel gains' |publisher=BBC News |date=5 March 2013}}

<span class="citation web">[http://www.bbc.co.uk/news/world-middle-east-21666917 "Syria crisis: Warplanes 'bomb Raqqa after rebel gains'"]. BBC News. 5 March 2013.</span><span class="Z3988" title="ctx_ver=Z39.88-2004&rft.pub=BBC+News&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.btitle=Syria+crisis%3A+Warplanes+%27bomb+Raqqa+after+rebel+gains%27&rft_id=http%3A%2F%2Fwww.bbc.co.uk%2Fnews%2Fworld-middle-east-%32%31%36%36%36%39%31%37&rft.genre=book&rft.date=%35+March+%32%30%31%33&rfr_id=info:sid/en.wikipedia.org:Special:ExpandTemplates" style="display: none;"> </span>

Old cite web

{{cite web|url=http://www.bbc.co.uk/news/world-middle-east-21666917 |title=Syria crisis: Warplanes 'bomb Raqqa after rebel gains' |publisher=BBC News |date=5 March 2013}}

"Syria crisis: Warplanes 'bomb Raqqa after rebel gains'". BBC News. 5 March 2013.

<span class="citation web" >[http://www.bbc.co.uk/news/world-middle-east-21666917 "Syria crisis: Warplanes 'bomb Raqqa after rebel gains'"]. BBC News. 5 March 2013<span class="printonly">. http://www.bbc.co.uk/news/world-middle-east-21666917</span>.</span>

The new Lua version appears to be missing the hidden, printonly URL text, which is there to preserve the URL information since one can't click on a print-out. Dragons flight (talk) 22:06, 11 March 2013 (UTC)

Well, there is a reason for that. If you try printing a page using current live template, you will end up with the URL's shown twice. -- WOSlinker (talk) 22:47, 11 March 2013 (UTC)
You appear to be correct, verified on my recent versions of Chrome, Firefox, and IE. Do you know whether this is a relatively well supported feature? I agree with removing the printonly portion as long as nearly everyone is going to get the URL address anyway. Dragons flight (talk) 23:41, 11 March 2013 (UTC)

archive urls

Is this a deliberate change? When using the archiveurl= option, the current behavior is to link first the archive page, and then to the "the original", while this seems to have been reversed in the module.

Cite web comparison
Wikitext {{cite web|accessdate=6 July 2005|archivedate=11 September 2005|archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf|date=30 April 2005|format=PDF|title=List of psychotropic substances under international control|url=http://www.incb.org/pdf/e/list/green.pdf}}
Live "List of psychotropic substances under international control" (PDF). 30 April 2005. Archived from the original (PDF) on 11 September 2005. Retrieved 6 July 2005.
Sandbox "List of psychotropic substances under international control" (PDF). 30 April 2005. Archived from the original (PDF) on 11 September 2005. Retrieved 6 July 2005.
Linked term is different and the order of the URLs used is reversed.

If "deadurl=no" is specified the old behavior is the same as the current behavior.

Cite web comparison
Wikitext {{cite web|accessdate=6 July 2005|archivedate=11 September 2005|archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf|date=30 April 2005|deadurl=no|format=PDF|title=List of psychotropic substances under international control|url=http://www.incb.org/pdf/e/list/green.pdf}}
Live "List of psychotropic substances under international control" (PDF). 30 April 2005. Archived from the original (PDF) on 11 September 2005. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
Sandbox "List of psychotropic substances under international control" (PDF). 30 April 2005. Archived from the original (PDF) on 11 September 2005. Retrieved 6 July 2005. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
This case is identical.

Was the change in the first case deliberate? The second case appears to be discussed earlier on this page, but I don't see any discussion of the first case above. Dragons flight (talk) 03:26, 12 March 2013 (UTC)

I've fixed this by changing the default behavior for deadurl. Dragons flight (talk) 02:49, 13 March 2013 (UTC)

doi_brokendate

Cite journal comparison
Wikitext {{cite journal|author=Viollet, Benoît; Andreelli, Fabrizio; Jørgensen, Sebastian B.; et al.|doi=10.1172/JCI16567|doi_brokendate=June 18, 2008|issue=1|journal=The Journal of Clinical Investigation|month=January|pages=91–8|pmc=151837|pmid=12511592|title=The AMP-activated protein kinase alpha2 catalytic subunit controls whole-body insulin sensitivity|volume=111|year=2003}}
Live Viollet, Benoît; Andreelli, Fabrizio; Jørgensen, Sebastian B.; et al. (2003). "The AMP-activated protein kinase alpha2 catalytic subunit controls whole-body insulin sensitivity". The Journal of Clinical Investigation. 111 (1): 91–8. doi:10.1172/JCI16567. PMC 151837. PMID 12511592. {{cite journal}}: Explicit use of et al. in: |author= (help); Unknown parameter |doi_brokendate= ignored (|doi-broken-date= suggested) (help); Unknown parameter |month= ignored (help)CS1 maint: multiple names: authors list (link)
Sandbox Viollet, Benoît; Andreelli, Fabrizio; Jørgensen, Sebastian B.; et al. (2003). "The AMP-activated protein kinase alpha2 catalytic subunit controls whole-body insulin sensitivity". The Journal of Clinical Investigation. 111 (1): 91–8. doi:10.1172/JCI16567. PMC 151837. PMID 12511592. {{cite journal}}: Explicit use of et al. in: |author= (help); Unknown parameter |doi_brokendate= ignored (|doi-broken-date= suggested) (help); Unknown parameter |month= ignored (help)CS1 maint: multiple names: authors list (link)
compare DOIs

This is an obscure journal parameter that doesn't seem to be supported yet. Dragons flight (talk) 05:06, 12 March 2013 (UTC)

Fixed. Dragons flight (talk) 04:19, 13 March 2013 (UTC)
Cite journal comparison
Wikitext {{cite journal|arxiv=hep-ex/0507107|bibcode=2006PhRvL..96k0406Z|doi=10.1103/PhysRevLett.96.110406|first1=E.|first2=G.|first3=G.|first4=E.|first5=E.|first6=M.|first7=U.|first8=G.|first9=F.|issue=11|journal=Physical Review Letters|last1=Zavattini|last2=Zavattini|last3=Ruoso|last4=Polacco|last5=Milotti|last6=Karuza|last7=Gastaldi|last8=Di Domenico|last9=Della Valle|title=Experimental Observation of Optical Rotation Generated in Vacuum by a Magnetic Field|volume=96|year=2006}}
Live Zavattini, E.; Zavattini, G.; Ruoso, G.; Polacco, E.; Milotti, E.; Karuza, M.; Gastaldi, U.; Di Domenico, G.; Della Valle, F. (2006). "Experimental Observation of Optical Rotation Generated in Vacuum by a Magnetic Field". Physical Review Letters. 96 (11). arXiv:hep-ex/0507107. Bibcode:2006PhRvL..96k0406Z. doi:10.1103/PhysRevLett.96.110406.
Sandbox Zavattini, E.; Zavattini, G.; Ruoso, G.; Polacco, E.; Milotti, E.; Karuza, M.; Gastaldi, U.; Di Domenico, G.; Della Valle, F. (2006). "Experimental Observation of Optical Rotation Generated in Vacuum by a Magnetic Field". Physical Review Letters. 96 (11). arXiv:hep-ex/0507107. Bibcode:2006PhRvL..96k0406Z. doi:10.1103/PhysRevLett.96.110406.
ArXiv link is broken

The above example shows that the ArXiv URL is broken under Lua due to an encoding issue. Dragons flight (talk) 05:15, 12 March 2013 (UTC)

Aren't those two supposed to be completely equivalent? But maybe arxiv's server isn't properly compliant. Anyway, we shouldn't be urlencoding that slash — it has no useful effect, doesn't work (perhaps due to a bug at arxiv), and just makes it harder for humans to read it. —David Eppstein (talk) 07:15, 12 March 2013 (UTC)
No, not at all. According to the standard percent encoding is supposed to change the meaning of control characters. The character "/" is supposed to be interpreted as a path separator while the character "%2F" is supposed to be interpreted as the ASCII character "/" and not as a path separator. Let me give an example:
These are not equivalent things. It is not uncommon to see web servers that actually treat "%2F" and "/" as identical in all cases, but that is not compliant with URI standard. The fact that ArXiv treats these two situations as different is actually what they should be doing according to the standard. We are the ones that are not handling this correctly. Dragons flight (talk) 14:44, 12 March 2013 (UTC)
Fixed. Dragons flight (talk) 03:41, 13 March 2013 (UTC)

Period after quote

Cite book comparison
Wikitext {{cite book|author=J.C. Maxwell|isbn=0-486-66895-9|page=9|publisher=D. Van Nostrand|quote=Physical science is that department of knowledge which relates to the order of nature, or, in other words, to the regular succession of events.|title=Matter and Motion|url=http://books.google.com/?id=noRgWP0_UZ8C&printsec=titlepage&dq=matter+and+motion|year=1878}}
Live J.C. Maxwell (1878). Matter and Motion. D. Van Nostrand. p. 9. ISBN 0-486-66895-9. Physical science is that department of knowledge which relates to the order of nature, or, in other words, to the regular succession of events.
Sandbox J.C. Maxwell (1878). Matter and Motion. D. Van Nostrand. p. 9. ISBN 0-486-66895-9. Physical science is that department of knowledge which relates to the order of nature, or, in other words, to the regular succession of events.
In Lua version and extra period appears after the quote

It appears as though the Lua code adds a period after all quotes. This might be an improvement in some cases, but if the quote already contains a period at the end, adding a second period is probably incorrect behavior. I'm not sure whether is better to never add a period (the present behavior), or to check for the presence of punctuation at the end of the quote and add a period only if no punctuation is found. Dragons flight (talk) 15:12, 12 March 2013 (UTC)

The current CS1 style as documented is for no postscript punctuation when quote is present, as the quote is usually added with a terminal period or question mark. --— Gadget850 (Ed) talk 15:21, 12 March 2013 (UTC)
  • Removed end-dot after quote parameter: I agree that matching the prior quotation style will avoid problems, so I set variable enddot="" when Quote~="". In general, the final step is to check conditions which change the final enddot to the "" null string, because Lua is so fast when checking dozens of if-statement conditions. -Wikid77 (talk) 10:13, 13 March 2013 (UTC)

Multiple editors, plural

Cite book comparison
Wikitext {{cite book|chapter=Pact of Steel|editor1-first=I. C. B.|editor1-last=Dear|editor2-first=M. R. D|editor2-last=Foot|isbn=0-19-860446-7|page=674|publisher=Oxford University Press|title=Oxford Companion to World War II|year=2002}}
Live Dear, I. C. B.; Foot, M. R. D, eds. (2002). "Pact of Steel". Oxford Companion to World War II. Oxford University Press. p. 674. ISBN 0-19-860446-7.
Sandbox Dear, I. C. B.; Foot, M. R. D, eds. (2002). "Pact of Steel". Oxford Companion to World War II. Oxford University Press. p. 674. ISBN 0-19-860446-7.
The "ed." vs. "eds." mark

When multiple editors are specified, the present version of cite book marks them as "eds." while the Lua version uses only "ed." Dragons flight (talk) 16:07, 12 March 2013 (UTC)

Added plural option. Dragons flight (talk) 04:00, 13 March 2013 (UTC)