Modul:Citation: Unterschied zwischen den Versionen

K
handling of newspapers not defined
KKeine Bearbeitungszusammenfassung
K (handling of newspapers not defined)
Zeile 731: Zeile 731:
end
end
table.insert( rft, 1, 'rft_val_fmt=' .. mw.uri.encode( 'info:ofi/fmt:kev:mtx:book' ) )
table.insert( rft, 1, 'rft_val_fmt=' .. mw.uri.encode( 'info:ofi/fmt:kev:mtx:book' ) )
elseif args.type == 'journal' then
else -- 'journal', 'newspaper'
insertCOinS( 'rft.title', args.title )
insertCOinS( 'rft.title', args.title )
insertCOinS( 'rft.atitle', args.title )
insertCOinS( 'rft.atitle', args.title )
insertCOinS( 'rft.jtitle', args.journal )
if args.type == 'journal' then
insertCOinS( 'rft.jtitle', args.journal )
else
insertCOinS( 'rft.jtitle', args.newspaper )
end
table.insert( rft, 1, 'rft.genre=journal' )
table.insert( rft, 1, 'rft.genre=journal' )
table.insert( rft, 1, 'rft_val_fmt=' .. mw.uri.encode( 'info:ofi/fmt:kev:mtx:journal' ) )
table.insert( rft, 1, 'rft_val_fmt=' .. mw.uri.encode( 'info:ofi/fmt:kev:mtx:journal' ) )
else -- 'newspaper'
-- else -- 'newspaper'
insertCOinS( 'rft.type', 'newspaperArticle' )
-- insertCOinS( 'rft.type', 'newspaperArticle' )
insertCOinS( 'rft.title', args.title )
-- insertCOinS( 'rft.title', args.title )
insertCOinS( 'rft.atitle', args.title )
-- insertCOinS( 'rft.atitle', args.title )
insertCOinS( 'rft.source', args.newspaper )
-- insertCOinS( 'rft.source', args.newspaper )
table.insert( rft, 1, 'rft_val_fmt=' .. mw.uri.encode( 'info:ofi/fmt:kev:mtx:dc' ) )
-- table.insert( rft, 1, 'rft_val_fmt=' .. mw.uri.encode( 'info:ofi/fmt:kev:mtx:dc' ) )
end
end


Anonymer Benutzer