Module:Citation/CS1: Difference between revisions

    m>Dragons flight
    (". ." case)
    m>Dragons flight
    (worry about the enddot)
    Line 909: Line 909:


         local idcommon = safejoin( { ARXIV, ASIN, BIBCODE, DOI, ISBN, ISSN, JFM, JSTOR, LCCN, MR, OCLC, OL, OSTI, PMC, PMID, RFC, SSRN, URL, ZBL, ID, Archived, AccessDate, Via, SubscriptionRequired, Lay, Quote, PostScript }, sepc );
         local idcommon = safejoin( { ARXIV, ASIN, BIBCODE, DOI, ISBN, ISSN, JFM, JSTOR, LCCN, MR, OCLC, OL, OSTI, PMC, PMID, RFC, SSRN, URL, ZBL, ID, Archived, AccessDate, Via, SubscriptionRequired, Lay, Quote, PostScript }, sepc );
         local enddot = ""
         local enddot = "."
        if (Title ~= "") then enddot = "." end
        if (Periodical ~= "") then enddot = "." end
         if (Quote ~= "") then enddot = "" end
         if (Quote ~= "") 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 = safejoin( { idcommon, enddot }, sepc )


         if ( config.CitationClass == "encyclopaedia" ) then
         if ( config.CitationClass == "encyclopaedia" ) then