Module:Citation/CS1: Difference between revisions
for class "journal" omitted enddot
m>Wikid77 (for CitationClass "journal" shows Publisher after Periodical / Series) |
m>Wikid77 (for class "journal" omitted enddot) |
||
Line 682: | Line 682: | ||
if (Title == "") then enddot = "" end | if (Title == "") then enddot = "" end | ||
if ( string.sub(tcommon,-1,1) == ".") then enddot = "" end | if ( string.sub(tcommon,-1,1) == ".") then enddot = "" end | ||
if ( config.CitationClass == "journal") then enddot = "" end | |||
tcommon = tcommon .. enddot | 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 | ||
Line 997: | Line 998: | ||
--19Feb2013 Fixed to not put double-dots after title again. | --19Feb2013 Fixed to not put double-dots after title again. | ||
--20Feb2013 Changed to omit dot "." if already ends with dot. | --20Feb2013 Changed to omit dot "." if already ends with dot. | ||
--20Feb2013 If class "journal" shows Publisher after Periodical/Series. | |||
-- | -- | ||
--End | --End |