Modul:Citation/COinS: Unterschied zwischen den Versionen
args.doi, args.doi
(+jstor) |
(args.doi, args.doi) |
||
| Zeile 151: | Zeile 151: | ||
mw.uri.encode( args[ key ], 'PATH' ) ) | mw.uri.encode( args[ key ], 'PATH' ) ) | ||
elseif prefix == 'jst' then | elseif prefix == 'jst' then | ||
table.insert( rft, 'rft_id=' .. | if not cu.isSet( args.doi ) then | ||
table.insert( rft, 'rft_id=' .. | |||
table.insert( rft, 'rft_id=' .. | mw.uri.encode( 'info:doi/' .. value.doi:format( args[ key ] ), 'PATH' ) ) | ||
end | |||
if not cu.isSet( args.url ) then | |||
table.insert( rft, 'rft_id=' .. | |||
mw.uri.encode( value.url:format( args[ key ] ), 'PATH' ) ) | |||
end | |||
end | end | ||
end | end | ||