Jump to content

Module:Citation/CS1: Difference between revisions

removed enddot "." after "quote=" parameter; changed config.CitationClass "news" to use "p." page format.
m>Dragons flight
(fix inactive doi)
m>Wikid77
(removed enddot "." after "quote=" parameter; changed config.CitationClass "news" to use "p." page format.)
Line 617: Line 617:
     elseif ( Periodical ~= nil and Periodical ~= "" and
     elseif ( Periodical ~= nil and Periodical ~= "" and
             config.CitationClass ~= "encyclopaedia" and
             config.CitationClass ~= "encyclopaedia" and
            config.CitationClass ~= "news" and
             config.CitationClass ~= "web") then
             config.CitationClass ~= "web") then
         Page = ": " .. Page
         Page = ": " .. Page
Line 626: Line 627:
     elseif ( Periodical ~= nil and Periodical ~= "" and
     elseif ( Periodical ~= nil and Periodical ~= "" and
             config.CitationClass ~= "encyclopaedia" and
             config.CitationClass ~= "encyclopaedia" and
            config.CitationClass ~= "news" and
             config.CitationClass ~= "web") then
             config.CitationClass ~= "web") then
         Pages = ": " .. Pages
         Pages = ": " .. Pages
Line 811: Line 813:
     if (Title ~= "") then enddot = "." end
     if (Title ~= "") then enddot = "." end
     if (Periodical ~= "") then enddot = "." end
     if (Periodical ~= "") then enddot = "." end
    if (Quote ~= "") 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
Line 1,222: Line 1,225:
--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".
--07Mar2013 Fixed end double-dot by string.sub(idcommon,-1,-1) was "-1,1".
--13Mar2013 Removed enddot "." after "quote=" parameter.
--13Mar2013 Changed config.CitationClass "news" to use "p." page format.
--
--
--End
--End
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.