Module:Citation/CS1: Difference between revisions
for config.CitationClass "citation" reset order as: Volume, Issue, Publisher
m>Wikid77 (for config.CitationClass == "journal" reset empty URL to use PMC url if any.) |
m>Wikid77 (for config.CitationClass "citation" reset order as: Volume, Issue, Publisher) |
||
Line 742: | Line 742: | ||
-- not to keep reassigning to the same string variable over and over. | -- not to keep reassigning to the same string variable over and over. | ||
local tcommon | local tcommon | ||
if ( config.CitationClass == "journal | if ( config.CitationClass == "journal" ) | ||
then tcommon = Title .. TitleType .. TitleNote .. Language .. Format .. Edition .. Conference .. Periodical .. Series .. Publisher .. Agency .. Volume .. Others .. Issue .. Position | then tcommon = Title .. TitleType .. TitleNote .. Language .. Format .. Edition .. Conference .. Periodical .. Series .. Publisher .. Agency .. Volume .. Others .. Issue .. Position | ||
else tcommon = Title .. TitleType .. TitleNote .. Series .. Language .. Format .. Edition .. Conference .. Periodical .. Volume .. Others .. Issue .. Publisher .. Agency .. Position end | elseif ( config.CitationClass == "citation" ) | ||
then tcommon = Title .. TitleType .. TitleNote .. Language .. Format .. Edition .. Conference .. Periodical .. Series .. Volume .. Issue .. Publisher .. Agency .. Others .. Position | |||
else tcommon = Title .. TitleType .. TitleNote .. Series .. Language .. Format .. Edition .. Conference .. Periodical .. Volume .. Others .. Issue .. Publisher .. Agency .. Position | |||
end | |||
-- DEBUG: tcommon = "/Title="..Title .. "/TitleType="..TitleType .. "/TitleNote="..TitleNote .. "/Format="..Format .. "/Edition="..Edition .. "/Language="..Language .. "/Conference="..Conference .. "/Periodical="..Periodical .. "/Series="..Series .. "/Volume="..Volume .. "/Issue="..Issue .. "/Position="..Position | -- DEBUG: tcommon = "/Title="..Title .. "/TitleType="..TitleType .. "/TitleNote="..TitleNote .. "/Format="..Format .. "/Edition="..Edition .. "/Language="..Language .. "/Conference="..Conference .. "/Periodical="..Periodical .. "/Series="..Series .. "/Volume="..Volume .. "/Issue="..Issue .. "/Position="..Position | ||
Line 1,089: | Line 1,091: | ||
--21Feb2013 Fixed to show "id=x" after Zbl code. | --21Feb2013 Fixed to show "id=x" after Zbl code. | ||
--21Feb2013 Changed to omit double-dot before date when already dot. | --21Feb2013 Changed to omit double-dot before date when already dot. | ||
--21Feb2013 Order config.CitationClass "citation": Volume, Issue, Publisher. | |||
-- | -- | ||
--End | --End |