I moved the Issue= tag next to the Volume= tag, which fixes this. However, I'm suspicious that there may be other cases (other format modes?) where this breaks things. All of the examples on this page right now seem okay, but we probably need to look carefully at this. Dragons flight (talk) 02:27, 14 March 2013 (UTC)
Weird link formatting for encyclopedia class
Cite encyclopedia comparison
Wikitext
{{cite encyclopedia|accessdate=27 December 2007|archivedate=31 October 2009|archiveurl=http://www.webcitation.org/5kwbxqnne|deadurl=yes|last=Microsoft Encarta Online Encyclopaedia 2007|title=Europe|url=http://encarta.msn.com/encyclopaedia_761570768/Europe.html}}
Live
Microsoft Encarta Online Encyclopaedia 2007. Europe. Archived from the original on 31 October 2009. Retrieved 27 December 2007. {{cite encyclopedia}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)CS1 maint: numeric names: authors list (link)
Sandbox
Microsoft Encarta Online Encyclopaedia 2007. Europe. Archived from the original on 31 October 2009. Retrieved 27 December 2007. {{cite encyclopedia}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)CS1 maint: numeric names: authors list (link)
Strange exposed url for cite encyclopedia
Cite web comparison
Wikitext
{{cite web|accessdate=27 December 2007|archivedate=31 October 2009|archiveurl=http://www.webcitation.org/5kwbxqnne|deadurl=yes|last=Microsoft Encarta Online Encyclopaedia 2007|title=Europe|url=http://encarta.msn.com/encyclopaedia_761570768/Europe.html}}
Live
Microsoft Encarta Online Encyclopaedia 2007. "Europe". Archived from the original on 31 October 2009. Retrieved 27 December 2007. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)CS1 maint: numeric names: authors list (link)
Sandbox
Microsoft Encarta Online Encyclopaedia 2007. "Europe". Archived from the original on 31 October 2009. Retrieved 27 December 2007. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)CS1 maint: numeric names: authors list (link)
I never could get a good answer on why |title= is used in both Title and IncludedWorkTitle, and that is one section I never updated. --— Gadget850 (Ed)talk15:20, 13 March 2013 (UTC)
Looking again at the first example, I see that last is being used where it should be encyclopedia. If title is defined but not encyclopedia then title is used in quotes and again in italics. I meant to poke into this before but title should be the title of the included work and should always be in quotes. --— Gadget850 (Ed)talk20:36, 13 March 2013 (UTC)
Cite encyclopedia comparison
Wikitext
{{cite encyclopedia|accessdate=27 December 2007|archivedate=31 October 2009|archiveurl=http://www.webcitation.org/5kwbxqnne|deadurl=yes|encyclopedia=Microsoft Encarta Online Encyclopaedia 2007|title=Europe|url=http://encarta.msn.com/encyclopaedia_761570768/Europe.html}}
Live
"Europe". Microsoft Encarta Online Encyclopaedia 2007. Archived from the original on 31 October 2009. Retrieved 27 December 2007. {{cite encyclopedia}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
Sandbox
"Europe". Microsoft Encarta Online Encyclopaedia 2007. Archived from the original on 31 October 2009. Retrieved 27 December 2007. {{cite encyclopedia}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
{{cite journal|author1=Wang, X|author2=Andrews, L|author3=Riedel, S|author4=Kaupp, M|doi=10.1002/anie.200703710|first1=X|first2=L|first3=S|first4=M|issue=44|journal=Angewandte Chemie International Edition|last1=Wang|last2=Andrews|last3=Riedel|last4=Kaupp|page=8371|pages=8371–5|pmid=17899620|publisher=Wiley-VCH|title=Mercury Is a Transition Metal: The First Experimental Evidence for HgF4|volume=46|year=2007}}
Live
Wang, X; Andrews, L; Riedel, S; Kaupp, M (2007). "Mercury Is a Transition Metal: The First Experimental Evidence for HgF4". Angewandte Chemie International Edition. 46 (44). Wiley-VCH: 8371. doi:10.1002/anie.200703710. PMID17899620. {{cite journal}}: More than one of |author1= and |last1= specified (help); More than one of |author2= and |last2= specified (help); More than one of |author3= and |last3= specified (help); More than one of |author4= and |last4= specified (help); More than one of |pages= and |page= specified (help)
Sandbox
Wang, X; Andrews, L; Riedel, S; Kaupp, M (2007). "Mercury Is a Transition Metal: The First Experimental Evidence for HgF4". Angewandte Chemie International Edition. 46 (44). Wiley-VCH: 8371. doi:10.1002/anie.200703710. PMID17899620. {{cite journal}}: More than one of |author1= and |last1= specified (help); More than one of |author2= and |last2= specified (help); More than one of |author3= and |last3= specified (help); More than one of |author4= and |last4= specified (help); More than one of |pages= and |page= specified (help)
Lua behaves a little odd if both page= and pages= are specified at the same time. Arguably this should be considered a user error. Dragons flight (talk) 14:34, 13 March 2013 (UTC)
For the moment stick as is: |pages= overrides |page=. Hopefully once Lua templates are established we can look to add validation/tracking categories for these kinds of errors. Rjwilmsi15:19, 13 March 2013 (UTC)
When the publisher name ends in a "." (e.g. "Google, Inc.", "MacMillan and Co."), this can lead to a double "." following the publisher. Dragons flight (talk) 14:47, 13 March 2013 (UTC)
I'll inspect the code, but I am not sure how many more double-dot problems we are facing. I have already fixed ".." after authors/editors or between "agency=" and page number, as well as ".." after book/periodical title. See examples in wp:CS1/test_problems. -Wikid7719:54, 14 March 2013 (UTC)
{{cite news|date=January 5, 2009|first=Sarah|last=Rabil|title=New York Times Starts Selling Ad Space on Front Page|url=http://www.bloomberg.com/apps/news?pid=20601103&sid=amsJuEA115pI&refer=us|work=Bloomberg L.P.}}
{{cite web|accessdate=10 February 2009|author=Graham Charlton|date=10 February 2009|publisher=Econsultancy|title=Q&A: Ian Grant of Encyclopædia Britannica UK [interview]|url=http://econsultancy.com/blog/3268-q-a-ian-grant-of-encyclopaedia-britannica-uk}}
It has always been the case that having brackets in your title, e.g. [], can mess up the placement of url links. The standard templates advise that any titles requiring brackets should be manually converted to escape codes; however, it seems like it should be well within Lua's ability to detect this issue and automatically do the encoding. Dragons flight (talk) 15:30, 13 March 2013 (UTC)
There are also problems with a newline (usually because it was copy/pasted) which should be converted to a space and with pipes, which we really can't so anything with. --— Gadget850 (Ed)talk20:24, 13 March 2013 (UTC)
{{cite book|accessdate=28 April 2011|author=Stern, N.|contribution=6.2 What existing models calculate and include|format=PDF|pages=147–148|publisher=HM Treasury website|series=Stern Review Report on the Economics of Climate Change (pre-publication edition)|title=6 Economic modelling of climate-change impacts|url=http://www.hm-treasury.gov.uk/d/Chapter_6_Economic_modelling_of_climate-change_impacts.pdf|year=2006}}
Live
Stern, N. (2006). "6.2 What existing models calculate and include". 6 Economic modelling of climate-change impacts(PDF). Stern Review Report on the Economics of Climate Change (pre-publication edition). HM Treasury website. pp. 147–148. Retrieved 28 April 2011.
Sandbox
Stern, N. (2006). "6.2 What existing models calculate and include". 6 Economic modelling of climate-change impacts(PDF). Stern Review Report on the Economics of Climate Change (pre-publication edition). HM Treasury website. pp. 147–148. Retrieved 28 April 2011.
{{cite web|accessdate=15 January 2011|publisher=UN|title=Table A.17|url=http://www.un.org/esa/population/publications/wpp2006/WPP2006_Highlights_rev.pdf|work=United Nations World Population Prospects, ''2006 revision''}}
Live
"Table A.17"(PDF). United Nations World Population Prospects, 2006 revision. UN. Retrieved 15 January 2011. {{cite web}}: Italic or bold markup not allowed in: |work= (help)
Sandbox
"Table A.17"(PDF). United Nations World Population Prospects, 2006 revision. UN. Retrieved 15 January 2011. {{cite web}}: Italic or bold markup not allowed in: |work= (help)
Yes, day is deprecated, but it is still used in the date algorithm in all the CS1 templates. And it is displayed if you use it alone. Regardless, the Lua version handles this in a more sane manner by not showing invalid dates. --— Gadget850 (Ed)talk23:41, 16 March 2013 (UTC)