Module:Citation/CS1: Difference between revisions

fixed final double-dot by "string.sub(idcommon,-1,-1)" which had "-1,1".
m>Wikid77
(changed class "encyclopaedia" to omit "(__)" around publisher; updated internal notes.)
m>Wikid77
(fixed final double-dot by "string.sub(idcommon,-1,-1)" which had "-1,1".)
Line 713: Line 713:
     if ( ZBL ~= nil and ZBL ~="") then
     if ( ZBL ~= nil and ZBL ~="") then
         ZBL = sepc .." " .. externallinkid(frame, {label="Zbl",link="Zentralblatt MATH",prefix="http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:",id=ZBL}) else ZBL = "" end
         ZBL = sepc .." " .. externallinkid(frame, {label="Zbl",link="Zentralblatt MATH",prefix="http://www.zentralblatt-math.org/zmath/en/search/?format=complete&q=an:",id=ZBL}) else ZBL = "" end
     if ( Quote ~= nil and Quote ~="" ) then  
     if ( Quote and Quote ~="" ) then  
         Quote = sepc .." \"" .. Quote .. "\""  
         Quote = sepc .." \"" .. Quote .. "\""  
         PostScript = ""
         PostScript = ""
     else  
     else  
         if ( PostScript ~= nil and PostScript ~="" ) then
         if ( PostScript == nil) then PostScript = "" end
            PostScript = PostScript else PostScript = "" end
         Quote = ""  
         Quote = ""  
     end
     end
Line 796: Line 795:
     if (Title ~= "") then enddot = "." end
     if (Title ~= "") then enddot = "." end
     if (Periodical ~= "") then enddot = "." end
     if (Periodical ~= "") then enddot = "." end
     if ( string.sub(idcommon,-1,1) == sepc) then enddot = "" end
     if ( string.sub(idcommon,-1,-1) == sepc) then enddot = "" end
     if ( config.CitationClass == "citation") then enddot = "" end
     if ( config.CitationClass == "citation") then enddot = "" end
     idcommon = idcommon .. enddot
     idcommon = idcommon .. enddot
Line 1,195: Line 1,194:
--05Mar2013 Fixed class encyclopaedia to show page as "pp." or "p.".
--05Mar2013 Fixed class encyclopaedia to show page as "pp." or "p.".
--07Mar2013 Changed class encyclopaedia to omit "( )" around publisher.
--07Mar2013 Changed class encyclopaedia to omit "( )" around publisher.
--07Mar2013 Fixed end double-dot by string.sub(idcommon,-1,-1) was "-1,1".
--
--
--End
--End
Anonymous user