Module:Citation/CS1: Difference between revisions
fixed end double-dot after book/work title (very rare).
m>Dragons flight (get the semicolon off the et al.) |
m>Wikid77 (fixed end double-dot after book/work title (very rare).) |
||
Line 959: | Line 959: | ||
args.id = id; | args.id = id; | ||
end | end | ||
if ( text:sub(-4,-1) == ".''." ) then --when dot after title | |||
text = text:sub(1,-2) end --truncate end-dot | |||
text = z.mw.text.tag({name="span", contents=text, params=args}) | text = z.mw.text.tag({name="span", contents=text, params=args}) | ||
Line 1,282: | Line 1,284: | ||
--13Mar2013 Changed config.CitationClass "news" to use "p." page format. | --13Mar2013 Changed config.CitationClass "news" to use "p." page format. | ||
--13Mar2013 Fixed missing "location=" when "web" or "encyclopaedia". | --13Mar2013 Fixed missing "location=" when "web" or "encyclopaedia". | ||
--14Mar2013 Fixed end double-dot after book/work title. | |||
-- | -- | ||
--End | --End |