Jump to content

Module:Citation/CS1: Difference between revisions

substring: string.sub(tcommon,-1,1) == "."
m>Wikid77
(changed to omit dot "." if already ends with dot.)
m>Wikid77
(substring: string.sub(tcommon,-1,1) == ".")
Line 678: Line 678:
     local enddot = "."
     local enddot = "."
     if (Title == "") then enddot = "" end
     if (Title == "") then enddot = "" end
     if (tcommon.sub(-1,-1) == ".") then enddot = "" end
     if ( string.sub(tcommon,-1,1) == ".") then enddot = "" end
     tcommon = tcommon + "."
     tcommon = tcommon .. enddot
     local idcommon = ARXIV .. ASIN .. BIBCODE .. DOI .. ID .. ISBN .. JFM .. JSTOR .. LCCN .. MR .. OCLC .. OL .. OSTI .. PMC .. PMID .. RFC .. SSRN .. URL .. ZBL .. Archived .. AccessDate .. Via .. SubscriptionRequired .. Lay .. Quote .. PostScript
     local idcommon = ARXIV .. ASIN .. BIBCODE .. DOI .. ID .. ISBN .. JFM .. JSTOR .. LCCN .. MR .. OCLC .. OL .. OSTI .. PMC .. PMID .. RFC .. SSRN .. URL .. ZBL .. Archived .. AccessDate .. Via .. SubscriptionRequired .. Lay .. Quote .. PostScript


Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.