Module:Citation/CS1/COinS: Difference between revisions

    m>Obsuser
    m (correupted → corrupted)
    m>Trappist the monk
    No edit summary
    Line 1: Line 1:
    --[[
    --[[
    History of changes since last sync: 2015-12-12
    History of changes since last sync: 2015-12-12
    2016-01-10: bug fix; article title (aka chapter) missing from cite conference book metadata;


    ]]
    ]]
    Line 247: Line 249:
    elseif 'conference' == class then -- cite conference when Periodical not set
    elseif 'conference' == class then -- cite conference when Periodical not set
    OCinSoutput["rft.genre"] = "conference";
    OCinSoutput["rft.genre"] = "conference";
    elseif in_array (class, {'book', 'citation', 'encyclopaedia', 'interview', 'map'}) then
    elseif in_array (class, {'book', 'citation', 'conference', 'encyclopaedia', 'interview', 'map'}) then
    if is_set (data.Chapter) then
    if is_set (data.Chapter) then
    OCinSoutput["rft.genre"] = "bookitem";
    OCinSoutput["rft.genre"] = "bookitem";